Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7517/0.7517, allocations: 128.7 MB / 143.7 MB, free: 2.332 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00124/0.00124, allocations: 188.2 kB / 173.7 MB, free: 6.133 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.786/1.786, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 94.03 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003317, allocations: 9.656 kB / 0.5604 GB, free: 97.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.165, allocations: 76.76 MB / 0.6354 GB, free: 30.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.991/5.156, allocations: 2.183 GB / 2.818 GB, free: 193.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/5.157, allocations: 96.27 kB / 2.818 GB, free: 193 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.859/10.02, allocations: 1.436 GB / 4.254 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.473e-06/10.02, allocations: 0 / 4.254 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001457/10.02, allocations: 35.98 kB / 4.254 GB, free: 12.11 MB / 0.6823 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.005372/10.02, allocations: 2.136 MB / 4.256 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/10.02, allocations: 12.03 kB / 4.256 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002081/10.02, allocations: 156.2 kB / 4.256 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002648/10.02, allocations: 0.4897 MB / 4.257 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002599/10.03, allocations: 1.247 MB / 4.258 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008119/10.03, allocations: 277.8 kB / 4.258 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/10.03, allocations: 100 kB / 4.258 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002441/10.03, allocations: 1.367 MB / 4.26 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/10.03, allocations: 0 / 4.26 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-05/10.03, allocations: 55.94 kB / 4.26 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.266e-05/10.03, allocations: 38 kB / 4.26 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002423/10.03, allocations: 1.14 MB / 4.261 GB, free: 4.898 MB / 0.6823 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.007321/10.04, allocations: 6.627 MB / 4.267 GB, free: 13.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002398/10.04, allocations: 0.7098 MB / 4.268 GB, free: 13.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004075/10.04, allocations: 287.3 kB / 4.268 GB, free: 12.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/10.04, allocations: 42.55 kB / 4.268 GB, free: 12.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 3.046e-06/10.04, allocations: 0 / 4.268 GB, free: 12.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.003104/10.05, allocations: 0.9842 MB / 4.269 GB, free: 11.72 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/10.05, allocations: 55.41 kB / 4.269 GB, free: 11.66 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/10.05, allocations: 1.19 MB / 4.271 GB, free: 10.46 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.748e-05/10.05, allocations: 33.7 kB / 4.271 GB, free: 10.42 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005465/10.05, allocations: 0.6834 MB / 4.271 GB, free: 9.734 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/10.05, allocations: 114.5 kB / 4.271 GB, free: 9.621 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/10.05, allocations: 12 kB / 4.271 GB, free: 9.609 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001253/10.05, allocations: 338 kB / 4.272 GB, free: 9.273 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008991/10.05, allocations: 333.1 kB / 4.272 GB, free: 8.945 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/10.05, allocations: 0.6764 MB / 4.273 GB, free: 8.113 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009978/10.05, allocations: 424.3 kB / 4.273 GB, free: 7.699 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/10.05, allocations: 4 kB / 4.273 GB, free: 7.695 MB / 0.698 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002363/10.05, allocations: 1.063 MB / 4.274 GB, free: 6.625 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001271/10.06, allocations: 3.647 MB / 4.278 GB, free: 2.766 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/10.06, allocations: 8 kB / 4.278 GB, free: 2.758 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.095e-05/10.06, allocations: 12 kB / 4.278 GB, free: 2.746 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009871/10.06, allocations: 219.7 kB / 4.278 GB, free: 2.531 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.218e-05/10.06, allocations: 15.94 kB / 4.278 GB, free: 2.516 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/10.06, allocations: 242.7 kB / 4.278 GB, free: 2.277 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.22e-05/10.06, allocations: 43.98 kB / 4.278 GB, free: 2.234 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/10.06, allocations: 4 kB / 4.278 GB, free: 2.23 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001999/10.06, allocations: 0.8901 MB / 4.279 GB, free: 1.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/10.06, allocations: 11.98 kB / 4.279 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/10.06, allocations: 20.09 kB / 4.279 GB, free: 1.309 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007913/10.06, allocations: 199.7 kB / 4.279 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/10.06, allocations: 19.92 kB / 4.279 GB, free: 1.094 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/10.06, allocations: 199 kB / 4.28 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.058e-05/10.06, allocations: 39.98 kB / 4.28 GB, free: 0.8594 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (79): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007965/10.06, allocations: 416.7 kB / 4.28 GB, free: 452 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/10.06, allocations: 138.3 kB / 4.28 GB, free: 312 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4699/10.53, allocations: 0.695 MB / 4.281 GB, free: 75.29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/10.53, allocations: 3.312 kB / 4.281 GB, free: 75.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/10.53, allocations: 1.438 kB / 4.281 GB, free: 75.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/10.53, allocations: 3.875 kB / 4.281 GB, free: 75.29 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004477/10.54, allocations: 1.925 MB / 4.283 GB, free: 74.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/10.54, allocations: 4.906 kB / 4.283 GB, free: 74.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005988/10.54, allocations: 114.9 kB / 4.283 GB, free: 74.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-05/10.54, allocations: 7.875 kB / 4.283 GB, free: 74.87 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.23e-05/10.54, allocations: 11.95 kB / 4.283 GB, free: 74.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.054e-05/10.54, allocations: 8.766 kB / 4.283 GB, free: 74.87 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.378e-06/10.54, allocations: 9.219 kB / 4.283 GB, free: 74.87 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/10.54, allocations: 1.069 MB / 4.284 GB, free: 74.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006014/10.54, allocations: 280.6 kB / 4.284 GB, free: 74.22 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/10.54, allocations: 11.28 kB / 4.284 GB, free: 74.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/10.54, allocations: 121.3 kB / 4.284 GB, free: 74.21 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.633e-05/10.54, allocations: 30.66 kB / 4.284 GB, free: 74.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.315e-05/10.54, allocations: 27.47 kB / 4.284 GB, free: 74.21 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001555/10.54, allocations: 0.9223 MB / 4.285 GB, free: 74.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.443e-06/10.54, allocations: 0 / 4.285 GB, free: 74.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003056/10.55, allocations: 0.854 MB / 4.286 GB, free: 74.08 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007477/10.55, allocations: 5.63 MB / 4.292 GB, free: 70.86 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002985/10.56, allocations: 1.17 MB / 4.293 GB, free: 70.86 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/10.56, allocations: 0 / 4.293 GB, free: 70.86 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007601/10.56, allocations: 293.3 kB / 4.293 GB, free: 70.86 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003032/10.56, allocations: 0.6411 MB / 4.294 GB, free: 70.85 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006974/10.57, allocations: 9.734 MB / 4.303 GB, free: 62.89 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000579/10.57, allocations: 1.206 MB / 4.304 GB, free: 62.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001507/10.57, allocations: 347.2 kB / 4.305 GB, free: 62.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006358/10.57, allocations: 495.7 kB / 4.305 GB, free: 62.15 MB / 0.698 GB Notification: Performance of SimCode: time 1.222e-06/10.57, allocations: 0 / 4.305 GB, free: 62.15 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1171/10.69, allocations: 76.5 MB / 4.38 GB, free: 59.85 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001484/10.69, allocations: 220.3 kB / 4.38 GB, free: 59.62 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.542/15.23, allocations: 3.094 kB / 4.38 GB, free: 59.62 MB / 0.698 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example4.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.pipe 2>&1)