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.001825/0.001825, allocations: 108.1 kB / 16.41 MB, free: 6.445 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.001965/0.001965, allocations: 191.9 kB / 17.34 MB, free: 5.738 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.434/1.434, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8134/0.8134, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002802/0.002803, allocations: 71.59 kB / 0.5735 GB, free: 27.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1672, allocations: 78.86 MB / 0.6505 GB, free: 3.691 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example4): time 0.5382/0.7054, allocations: 237.6 MB / 0.8826 GB, free: 5.516 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02224/0.7277, allocations: 15.78 MB / 0.898 GB, free: 5.695 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00204/0.7298, allocations: 63.62 kB / 0.898 GB, free: 5.633 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003008/0.7328, allocations: 1.045 MB / 0.8991 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.009135/0.742, allocations: 2.956 MB / 0.902 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004779/0.7468, allocations: 1.677 MB / 0.9036 GB, free: 15.94 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005914/0.7527, allocations: 3.41 MB / 0.9069 GB, free: 12.52 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002466/0.7552, allocations: 1.292 MB / 0.9082 GB, free: 11.2 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007468/0.7627, allocations: 2.737 MB / 0.9109 GB, free: 8.473 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002472/0.7652, allocations: 1.065 MB / 0.9119 GB, free: 7.414 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003219/0.7656, allocations: 116 kB / 0.912 GB, free: 7.301 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006192/0.7718, allocations: 3.087 MB / 0.915 GB, free: 4.207 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006782/0.7725, allocations: 474.5 kB / 0.9155 GB, free: 3.742 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001241/0.7737, allocations: 0.8123 MB / 0.9163 GB, free: 2.926 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005478/0.7792, allocations: 2.974 MB / 0.9192 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.7792, allocations: 0 / 0.9192 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7792, allocations: 0 / 0.9192 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.991e-05/0.7793, allocations: 4 kB / 0.9192 GB, free: 15.94 MB / 0.6856 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.003699/0.783, allocations: 2.064 MB / 0.9212 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.783, allocations: 8.031 kB / 0.9212 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001967/0.7832, allocations: 156.2 kB / 0.9213 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002841/0.7861, allocations: 0.5063 MB / 0.9218 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002386/0.7885, allocations: 1.181 MB / 0.923 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.723e-05/0.7886, allocations: 74 kB / 0.9231 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.7887, allocations: 104 kB / 0.9232 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00249/0.7912, allocations: 1.35 MB / 0.9245 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/0.7913, allocations: 7.938 kB / 0.9245 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.7914, allocations: 44 kB / 0.9245 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.94e-05/0.7914, allocations: 49.98 kB / 0.9246 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002547/0.794, allocations: 1.046 MB / 0.9256 GB, free: 9.109 MB / 0.6856 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.008398/0.8024, allocations: 7.476 MB / 0.9329 GB, free: 1.145 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.8041, allocations: 0.5502 MB / 0.9334 GB, free: 0.5859 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006553/0.8047, allocations: 257.2 kB / 0.9337 GB, free: 340 kB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004081/0.8052, allocations: 283.6 kB / 0.934 GB, free: 0 / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.8052, allocations: 42.89 kB / 0.934 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=33): time 1.693e-06/0.8052, allocations: 3.938 kB / 0.934 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of matching and sorting (n=33): time 0.002555/0.8078, allocations: 0.8446 MB / 0.9348 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.8079, allocations: 55.41 kB / 0.9349 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/0.8098, allocations: 1.391 MB / 0.9362 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.927e-05/0.8099, allocations: 33.7 kB / 0.9363 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006697/0.8106, allocations: 0.7197 MB / 0.937 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.8107, allocations: 130.9 kB / 0.9371 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002747/0.811, allocations: 166.5 kB / 0.9373 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.8111, allocations: 334 kB / 0.9376 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000894/0.812, allocations: 312.6 kB / 0.9379 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/0.8133, allocations: 0.6891 MB / 0.9385 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001877/0.8152, allocations: 0.9259 MB / 0.9394 GB, free: 9.969 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.8152, allocations: 7.938 kB / 0.9395 GB, free: 9.961 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002481/0.8177, allocations: 1.054 MB / 0.9405 GB, free: 8.898 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.8177, allocations: 8 kB / 0.9405 GB, free: 8.891 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.8177, allocations: 12 kB / 0.9405 GB, free: 8.879 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.8178, allocations: 16.72 kB / 0.9405 GB, free: 8.863 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008764/0.8186, allocations: 207.6 kB / 0.9407 GB, free: 8.66 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.588e-05/0.8187, allocations: 23.92 kB / 0.9407 GB, free: 8.637 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.8199, allocations: 179 kB / 0.9409 GB, free: 8.461 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-05/0.82, allocations: 47.98 kB / 0.941 GB, free: 8.414 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001261/0.8213, allocations: 0.5643 MB / 0.9415 GB, free: 7.844 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001191/0.8225, allocations: 0.6852 MB / 0.9422 GB, free: 6.98 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001844/0.8243, allocations: 0.9256 MB / 0.9431 GB, free: 5.895 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.586e-06/0.8244, allocations: 4 kB / 0.9431 GB, free: 5.891 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002476/0.8268, allocations: 1.059 MB / 0.9441 GB, free: 4.824 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.8269, allocations: 12.03 kB / 0.9441 GB, free: 4.812 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.8269, allocations: 12 kB / 0.9441 GB, free: 4.801 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.8269, allocations: 16 kB / 0.9442 GB, free: 4.785 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008269/0.8277, allocations: 211.6 kB / 0.9444 GB, free: 4.578 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.262e-05/0.8278, allocations: 23.92 kB / 0.9444 GB, free: 4.555 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.829, allocations: 127.6 kB / 0.9445 GB, free: 4.43 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.73e-05/0.829, allocations: 44.08 kB / 0.9445 GB, free: 4.387 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.0002274/0.8293, allocations: 235.9 kB / 0.9448 GB, free: 4.148 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/0.8295, allocations: 151 kB / 0.9449 GB, free: 4 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/0.8313, allocations: 0.6481 MB / 0.9455 GB, free: 3.336 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.8313, allocations: 4 kB / 0.9456 GB, free: 3.332 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.8313, allocations: 0 / 0.9456 GB, free: 3.332 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/0.8313, allocations: 3.984 kB / 0.9456 GB, free: 3.328 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0036/0.8349, allocations: 1.885 MB / 0.9474 GB, free: 1.336 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.8349, allocations: 4 kB / 0.9474 GB, free: 1.332 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005064/0.8354, allocations: 100 kB / 0.9475 GB, free: 1.234 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.856e-06/0.8355, allocations: 7.938 kB / 0.9475 GB, free: 1.227 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.857e-05/0.8355, allocations: 15.94 kB / 0.9475 GB, free: 1.211 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/0.8355, allocations: 15.92 kB / 0.9475 GB, free: 1.195 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.8355, allocations: 4 kB / 0.9475 GB, free: 1.191 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.8372, allocations: 0.8042 MB / 0.9483 GB, free: 328 kB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004415/0.8376, allocations: 307.9 kB / 0.9486 GB, free: 0 / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/0.8378, allocations: 8.078 kB / 0.9486 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.8388, allocations: 71.86 kB / 0.9487 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.642e-05/0.839, allocations: 39.81 kB / 0.9487 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.243e-05/0.839, allocations: 23.97 kB / 0.9488 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00151/0.8405, allocations: 1.005 MB / 0.9497 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8405, allocations: 0 / 0.9497 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001685/0.8422, allocations: 0.5813 MB / 0.9503 GB, free: 14.27 MB / 0.7169 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.002463/0.8447, allocations: 1.523 MB / 0.9518 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002907/0.8476, allocations: 1.119 MB / 0.9529 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.8476, allocations: 0.9375 kB / 0.9529 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007119/0.8484, allocations: 256.6 kB / 0.9531 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00346/0.8518, allocations: 0.7393 MB / 0.9538 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01756/0.8694, allocations: 9.843 MB / 0.9635 GB, free: 212 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008849/0.8703, allocations: 1.182 MB / 0.9646 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001532/0.8719, allocations: 391.8 kB / 0.965 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007903/0.8727, allocations: 0.4915 MB / 0.9655 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of SimCode: time 8.42e-07/0.8727, allocations: 0 / 0.9655 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07327/0.946, allocations: 35.6 MB / 1 GB, free: 10.92 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.25/11.19, allocations: 5.938 kB / 1 GB, free: 10.91 MB / 0.7637 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)