Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.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.Examples.Performance.Example4,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example4,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example4",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.001191/0.001191, allocations: 101.1 kB / 16.4 MB, free: 6.496 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.001137/0.001137, allocations: 192 kB / 17.34 MB, free: 5.727 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.769/0.769, allocations: 122.9 MB / 414.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 64 kB / 0.5679 GB, free: 28.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1237, allocations: 77.93 MB / 0.6441 GB, free: 9.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example4): time 0.5108/0.6346, allocations: 237.5 MB / 0.876 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02213/0.6568, allocations: 15.79 MB / 0.8914 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002604/0.6594, allocations: 59.62 kB / 0.8915 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002888/0.6623, allocations: 1.088 MB / 0.8925 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007871/0.6703, allocations: 3.091 MB / 0.8956 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004283/0.6746, allocations: 1.704 MB / 0.8972 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004671/0.6792, allocations: 3.448 MB / 0.9006 GB, free: 5.219 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001963/0.6812, allocations: 1.28 MB / 0.9018 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006111/0.6874, allocations: 2.58 MB / 0.9044 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002295/0.6897, allocations: 1.091 MB / 0.9054 GB, free: 252 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003625/0.69, allocations: 120 kB / 0.9055 GB, free: 132 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005746/0.6958, allocations: 3.098 MB / 0.9086 GB, free: 13.02 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006139/0.6964, allocations: 474.5 kB / 0.909 GB, free: 12.56 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001329/0.6978, allocations: 0.8084 MB / 0.9098 GB, free: 11.75 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005245/0.703, allocations: 2.982 MB / 0.9127 GB, free: 8.754 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.7031, allocations: 0 / 0.9127 GB, free: 8.754 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.082e-06/0.7031, allocations: 0 / 0.9127 GB, free: 8.754 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.891e-05/0.7031, allocations: 0 / 0.9127 GB, free: 8.754 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003889/0.707, allocations: 2.072 MB / 0.9147 GB, free: 6.625 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.7071, allocations: 8.625 kB / 0.9147 GB, free: 6.617 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001948/0.7073, allocations: 156.2 kB / 0.9149 GB, free: 6.457 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002895/0.7102, allocations: 0.4985 MB / 0.9154 GB, free: 5.957 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00232/0.7125, allocations: 1.181 MB / 0.9165 GB, free: 4.719 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.059e-05/0.7126, allocations: 82 kB / 0.9166 GB, free: 4.641 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.7127, allocations: 96 kB / 0.9167 GB, free: 4.547 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002307/0.715, allocations: 1.354 MB / 0.918 GB, free: 3.07 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.026e-05/0.7151, allocations: 7.938 kB / 0.918 GB, free: 3.062 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.723e-05/0.7152, allocations: 36 kB / 0.9181 GB, free: 3.027 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.022e-05/0.7152, allocations: 49.98 kB / 0.9181 GB, free: 2.98 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002423/0.7177, allocations: 1.054 MB / 0.9191 GB, free: 1.922 MB / 0.67 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.00767/0.7254, allocations: 7.396 MB / 0.9264 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.727, allocations: 0.5308 MB / 0.9269 GB, free: 9.512 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006466/0.7276, allocations: 265.2 kB / 0.9271 GB, free: 9.25 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000374/0.728, allocations: 291.5 kB / 0.9274 GB, free: 8.91 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.7281, allocations: 38.78 kB / 0.9275 GB, free: 8.863 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=33): time 1.903e-06/0.7281, allocations: 0 / 0.9275 GB, free: 8.863 MB / 0.6856 GB Notification: Performance of matching and sorting (n=33): time 0.002412/0.7305, allocations: 0.8454 MB / 0.9283 GB, free: 8.012 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.7306, allocations: 55.41 kB / 0.9283 GB, free: 7.945 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001874/0.7324, allocations: 1.395 MB / 0.9297 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.967e-05/0.7325, allocations: 33.7 kB / 0.9297 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005208/0.733, allocations: 0.7235 MB / 0.9304 GB, free: 5.773 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.7332, allocations: 119 kB / 0.9305 GB, free: 5.656 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002572/0.7334, allocations: 170.5 kB / 0.9307 GB, free: 5.48 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.7335, allocations: 334 kB / 0.931 GB, free: 5.148 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008367/0.7344, allocations: 312.6 kB / 0.9313 GB, free: 4.84 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/0.7355, allocations: 0.6891 MB / 0.932 GB, free: 3.973 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/0.7372, allocations: 0.9292 MB / 0.9329 GB, free: 2.883 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.7373, allocations: 4 kB / 0.9329 GB, free: 2.879 MB / 0.6856 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002373/0.7396, allocations: 1.055 MB / 0.9339 GB, free: 1.816 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.7397, allocations: 18.06 kB / 0.934 GB, free: 1.801 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.7397, allocations: 8 kB / 0.934 GB, free: 1.793 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/0.7397, allocations: 19.98 kB / 0.934 GB, free: 1.773 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008487/0.7406, allocations: 207.6 kB / 0.9342 GB, free: 1.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.328e-05/0.7406, allocations: 27.92 kB / 0.9342 GB, free: 1.543 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.7419, allocations: 179 kB / 0.9344 GB, free: 1.367 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.78e-05/0.742, allocations: 43.98 kB / 0.9344 GB, free: 1.324 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001158/0.7432, allocations: 0.569 MB / 0.935 GB, free: 0.7539 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001129/0.7443, allocations: 0.6852 MB / 0.9356 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00175/0.7461, allocations: 0.9254 MB / 0.9365 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.35e-06/0.7461, allocations: 0 / 0.9365 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00232/0.7484, allocations: 1.055 MB / 0.9376 GB, free: 13.74 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.7485, allocations: 15.92 kB / 0.9376 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.7485, allocations: 12 kB / 0.9376 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.7485, allocations: 16.09 kB / 0.9376 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008168/0.7493, allocations: 208.1 kB / 0.9378 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.594e-05/0.7494, allocations: 23.92 kB / 0.9378 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.7506, allocations: 139.5 kB / 0.938 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.611e-05/0.7507, allocations: 43.98 kB / 0.938 GB, free: 13.29 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * 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.0002152/0.7509, allocations: 239.9 kB / 0.9382 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002303/0.7512, allocations: 155 kB / 0.9384 GB, free: 12.9 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00163/0.7528, allocations: 0.6326 MB / 0.939 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.7528, allocations: 4 kB / 0.939 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.7528, allocations: 3.938 kB / 0.939 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.7529, allocations: 3.984 kB / 0.939 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003518/0.7564, allocations: 1.886 MB / 0.9409 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.7564, allocations: 4.219 kB / 0.9409 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005001/0.7569, allocations: 95.8 kB / 0.941 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/0.7569, allocations: 8 kB / 0.941 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.102e-05/0.757, allocations: 11.94 kB / 0.941 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.617e-06/0.757, allocations: 11.98 kB / 0.941 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.757, allocations: 4 kB / 0.941 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.7586, allocations: 0.8042 MB / 0.9418 GB, free: 9.238 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005145/0.7591, allocations: 315.8 kB / 0.9421 GB, free: 8.91 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002426/0.7593, allocations: 11.94 kB / 0.9421 GB, free: 8.898 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.7604, allocations: 71.91 kB / 0.9422 GB, free: 8.828 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.939e-05/0.7605, allocations: 31.91 kB / 0.9422 GB, free: 8.797 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.7605, allocations: 23.98 kB / 0.9422 GB, free: 8.773 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001412/0.762, allocations: 1.009 MB / 0.9432 GB, free: 7.77 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/0.762, allocations: 0 / 0.9432 GB, free: 7.77 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001804/0.7638, allocations: 0.5775 MB / 0.9438 GB, free: 7.191 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * 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.002279/0.7661, allocations: 1.527 MB / 0.9453 GB, free: 5.602 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002834/0.7689, allocations: 1.121 MB / 0.9463 GB, free: 4.484 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.7689, allocations: 0 / 0.9463 GB, free: 4.484 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006846/0.7696, allocations: 254.8 kB / 0.9466 GB, free: 4.238 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003369/0.773, allocations: 0.741 MB / 0.9473 GB, free: 3.5 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01604/0.7891, allocations: 9.844 MB / 0.9569 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007141/0.7898, allocations: 1.182 MB / 0.9581 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001304/0.7911, allocations: 387.8 kB / 0.9585 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006388/0.7918, allocations: 0.4915 MB / 0.9589 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of SimCode: time 4.5e-07/0.7918, allocations: 0 / 0.9589 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06073/0.8525, allocations: 35.58 MB / 0.9937 GB, free: 3.848 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.643/10.5, allocations: 7.875 kB / 0.9937 GB, free: 3.84 MB / 0.7481 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example4.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.pipe 2>&1)