Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithX_in.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 102.7 kB / 16.27 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 191.6 kB / 17.19 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7257/0.7257, allocations: 122.9 MB / 413.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.89 kB / 0.4912 GB, free: 7.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3146, allocations: 77.92 MB / 0.5673 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Validation.BoundaryWithX_in): time 0.4596/0.7743, allocations: 214.1 MB / 0.7763 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01202/0.7863, allocations: 12.16 MB / 0.7882 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001482/0.7879, allocations: 42.88 kB / 0.7882 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.7889, allocations: 0.5129 MB / 0.7887 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004036/0.793, allocations: 1.873 MB / 0.7906 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004194/0.7973, allocations: 1.894 MB / 0.7924 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00258/0.7999, allocations: 2.351 MB / 0.7947 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001504/0.8014, allocations: 1.233 MB / 0.7959 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001232/0.8026, allocations: 0.8183 MB / 0.7967 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006692/0.8033, allocations: 0.6644 MB / 0.7973 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.8034, allocations: 89.16 kB / 0.7974 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004521/0.808, allocations: 2.843 MB / 0.8002 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003721/0.8084, allocations: 0.5421 MB / 0.8007 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006149/0.809, allocations: 0.7367 MB / 0.8015 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003228/0.8122, allocations: 3.143 MB / 0.8045 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.8122, allocations: 0 / 0.8045 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.392e-06/0.8122, allocations: 0.9688 kB / 0.8045 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.75e-05/0.8123, allocations: 0 / 0.8045 GB, free: 0.7695 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.001854/0.8141, allocations: 1.742 MB / 0.8062 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.8142, allocations: 11.38 kB / 0.8062 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001554/0.8143, allocations: 173.9 kB / 0.8064 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001508/0.8158, allocations: 371 kB / 0.8068 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.8169, allocations: 0.8969 MB / 0.8076 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.255e-05/0.8169, allocations: 80.06 kB / 0.8077 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.8171, allocations: 103 kB / 0.8078 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.8187, allocations: 1.527 MB / 0.8093 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.8188, allocations: 6.125 kB / 0.8093 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-05/0.8189, allocations: 46.34 kB / 0.8094 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.02e-05/0.8189, allocations: 62.86 kB / 0.8094 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.8201, allocations: 1.017 MB / 0.8104 GB, free: 15.06 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005096/0.8252, allocations: 5.965 MB / 0.8162 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004723/0.8257, allocations: 328.1 kB / 0.8165 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000231/0.8259, allocations: 246.5 kB / 0.8168 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006123/0.8265, allocations: 0.7115 MB / 0.8175 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.8266, allocations: 40.64 kB / 0.8175 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=28): time 1.873e-06/0.8266, allocations: 0.7812 kB / 0.8175 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28): time 0.001073/0.8276, allocations: 0.6665 MB / 0.8182 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.8277, allocations: 139.6 kB / 0.8183 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/0.8293, allocations: 1.679 MB / 0.8199 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.8294, allocations: 30.58 kB / 0.82 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004051/0.8298, allocations: 0.5686 MB / 0.8205 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.379e-05/0.8299, allocations: 89.34 kB / 0.8206 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.83, allocations: 69.11 kB / 0.8207 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.888e-05/0.8301, allocations: 314.3 kB / 0.821 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.8303, allocations: 159.4 kB / 0.8211 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.8305, allocations: 271.1 kB / 0.8214 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004227/0.8309, allocations: 418.2 kB / 0.8218 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.831, allocations: 10.94 kB / 0.8218 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006119/0.8316, allocations: 0.5375 MB / 0.8223 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.8316, allocations: 7.062 kB / 0.8223 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.8316, allocations: 3.594 kB / 0.8223 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.8316, allocations: 2.75 kB / 0.8223 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.8318, allocations: 54.22 kB / 0.8224 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.8318, allocations: 6.344 kB / 0.8224 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004618/0.8323, allocations: 108.9 kB / 0.8225 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.8324, allocations: 19.5 kB / 0.8225 GB, free: 9.355 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003541/0.8327, allocations: 378.3 kB / 0.8229 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/0.8329, allocations: 149.1 kB / 0.823 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004725/0.8334, allocations: 381.6 kB / 0.8234 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.8334, allocations: 5.375 kB / 0.8234 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.8334, allocations: 3.094 kB / 0.8234 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.8334, allocations: 0.6562 kB / 0.8234 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003051/0.8365, allocations: 2.615 MB / 0.8259 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.8365, allocations: 4.969 kB / 0.8259 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.8367, allocations: 54.97 kB / 0.826 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/0.8367, allocations: 7.625 kB / 0.826 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.8367, allocations: 17.72 kB / 0.826 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.8368, allocations: 10.84 kB / 0.826 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/0.8368, allocations: 10.25 kB / 0.826 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006137/0.8374, allocations: 0.6256 MB / 0.8267 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003484/0.8377, allocations: 292.9 kB / 0.8269 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/0.8379, allocations: 20.73 kB / 0.827 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003471/0.8383, allocations: 14.47 kB / 0.827 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.8383, allocations: 35.39 kB / 0.827 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/0.8384, allocations: 19.08 kB / 0.827 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001217/0.8396, allocations: 1.223 MB / 0.8282 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8396, allocations: 0 / 0.8282 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008665/0.8405, allocations: 341.1 kB / 0.8285 GB, free: 6.898 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002141/0.8426, allocations: 1.677 MB / 0.8302 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004661/0.8431, allocations: 362.2 kB / 0.8305 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.8431, allocations: 0 / 0.8305 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.8433, allocations: 156 kB / 0.8307 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003569/0.8468, allocations: 0.9274 MB / 0.8316 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01241/0.8593, allocations: 11.56 MB / 0.8429 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007324/0.86, allocations: 1.212 MB / 0.844 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001037/0.8611, allocations: 302.7 kB / 0.8443 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005358/0.8616, allocations: 467.3 kB / 0.8448 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of SimCode: time 5.21e-07/0.8616, allocations: 0 / 0.8448 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06777/0.9294, allocations: 43.1 MB / 0.8869 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.989/8.919, allocations: 6.938 kB / 0.8869 GB, free: 14.16 MB / 0.6544 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithX_in.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithX_in_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_Sources_Validation_BoundaryWithX_in.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)