Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.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.Example2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example2",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.7262/0.7262, allocations: 127.4 MB / 134.9 MB, free: 3.441 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.001035/0.001035, allocations: 177.8 kB / 164.6 MB, free: 11.61 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.555/1.555, allocations: 205.2 MB / 399.5 MB, free: 13.54 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.00113/0.00113, allocations: 94.34 kB / 476.7 MB, free: 1.465 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.766e-05/1.78e-05, allocations: 2.625 kB / 0.5467 GB, free: 95.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1709, allocations: 76.78 MB / 0.6216 GB, free: 42.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8436/1.015, allocations: 371 MB / 0.9839 GB, free: 4.586 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003384/1.015, allocations: 94.44 kB / 0.984 GB, free: 4.539 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.649/2.664, allocations: 480.6 MB / 1.453 GB, free: 53.05 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.192e-06/2.664, allocations: 0 / 1.453 GB, free: 53.05 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000157/2.665, allocations: 51.91 kB / 1.453 GB, free: 53 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002761/2.667, allocations: 1.512 MB / 1.455 GB, free: 51.44 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/2.667, allocations: 12.03 kB / 1.455 GB, free: 51.43 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/2.669, allocations: 277.9 kB / 1.455 GB, free: 51.15 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003952/2.673, allocations: 2.052 MB / 1.457 GB, free: 49.05 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/2.673, allocations: 24 kB / 1.457 GB, free: 49.02 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/2.673, allocations: 52 kB / 1.457 GB, free: 48.97 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001027/2.674, allocations: 0.6176 MB / 1.458 GB, free: 48.36 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/2.675, allocations: 0.8086 MB / 1.459 GB, free: 47.49 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/2.675, allocations: 3.781 kB / 1.459 GB, free: 47.49 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.488e-05/2.675, allocations: 4 kB / 1.459 GB, free: 47.49 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/2.675, allocations: 20 kB / 1.459 GB, free: 47.47 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or 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.004951/2.68, allocations: 4.643 MB / 1.463 GB, free: 42.52 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006539/2.681, allocations: 0.5318 MB / 1.464 GB, free: 41.98 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003425/2.681, allocations: 281.1 kB / 1.464 GB, free: 41.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001912/2.683, allocations: 1.39 MB / 1.465 GB, free: 40.21 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003554/2.683, allocations: 281 kB / 1.466 GB, free: 39.93 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004226/2.684, allocations: 91.48 kB / 1.466 GB, free: 39.84 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=42): time 2.915e-06/2.684, allocations: 0 / 1.466 GB, free: 39.84 MB / 0.6511 GB Notification: Performance of matching and sorting (n=42): time 0.004581/2.688, allocations: 1.006 MB / 1.467 GB, free: 38.82 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/2.688, allocations: 59.39 kB / 1.467 GB, free: 38.75 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/2.69, allocations: 0.9873 MB / 1.468 GB, free: 37.75 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.25e-05/2.69, allocations: 29.7 kB / 1.468 GB, free: 37.72 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005105/2.69, allocations: 0.664 MB / 1.468 GB, free: 37.05 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/2.69, allocations: 138 kB / 1.468 GB, free: 36.91 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.753e-05/2.69, allocations: 0 / 1.468 GB, free: 36.91 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.00011/2.691, allocations: 334 kB / 1.469 GB, free: 36.58 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003221/2.691, allocations: 249.4 kB / 1.469 GB, free: 36.33 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004721/2.691, allocations: 0.5595 MB / 1.47 GB, free: 35.61 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000975/2.692, allocations: 362.6 kB / 1.47 GB, free: 35.26 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/2.692, allocations: 4 kB / 1.47 GB, free: 35.26 MB / 0.6511 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004226/2.697, allocations: 1.186 MB / 1.471 GB, free: 34.06 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0011/2.698, allocations: 3.134 MB / 1.474 GB, free: 30.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/2.698, allocations: 8 kB / 1.474 GB, free: 30.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004958/2.698, allocations: 212 kB / 1.474 GB, free: 30.51 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005931/2.699, allocations: 147.8 kB / 1.474 GB, free: 30.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00204/2.701, allocations: 0.9875 MB / 1.475 GB, free: 29.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/2.702, allocations: 79.7 kB / 1.476 GB, free: 29.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/2.702, allocations: 40.05 kB / 1.476 GB, free: 29.23 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/2.702, allocations: 4 kB / 1.476 GB, free: 29.23 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001571/2.704, allocations: 0.7826 MB / 1.476 GB, free: 28.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/2.704, allocations: 8 kB / 1.476 GB, free: 28.42 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001566/2.704, allocations: 100.8 kB / 1.476 GB, free: 28.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004291/2.705, allocations: 136 kB / 1.477 GB, free: 28.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/2.706, allocations: 2.057 MB / 1.479 GB, free: 26 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009389/2.707, allocations: 63.95 kB / 1.479 GB, free: 25.94 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.563e-05/2.707, allocations: 39.94 kB / 1.479 GB, free: 25.9 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 68 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001996/2.707, allocations: 132 kB / 1.479 GB, free: 25.77 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003344/2.711, allocations: 0.8748 MB / 1.48 GB, free: 24.88 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/2.711, allocations: 126.4 kB / 1.48 GB, free: 24.75 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003545/2.715, allocations: 0.9919 MB / 1.481 GB, free: 23.76 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/2.715, allocations: 8 kB / 1.481 GB, free: 23.75 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/2.715, allocations: 0 / 1.481 GB, free: 23.75 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00299/2.718, allocations: 1.021 MB / 1.482 GB, free: 22.66 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004758/2.722, allocations: 1.857 MB / 1.484 GB, free: 20.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/2.722, allocations: 4 kB / 1.484 GB, free: 20.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003638/2.723, allocations: 79.88 kB / 1.484 GB, free: 20.65 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002929/2.723, allocations: 188.7 kB / 1.484 GB, free: 20.46 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.694e-05/2.723, allocations: 11.98 kB / 1.484 GB, free: 20.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007098/2.73, allocations: 3.175 MB / 1.487 GB, free: 17.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/2.73, allocations: 0 / 1.487 GB, free: 17.16 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003966/2.734, allocations: 1.323 MB / 1.488 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006309/2.735, allocations: 259.5 kB / 1.488 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/2.735, allocations: 0 / 1.488 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007583/2.736, allocations: 67.89 kB / 1.489 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/2.736, allocations: 48.36 kB / 1.489 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.489e-05/2.736, allocations: 27.97 kB / 1.489 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009932/2.737, allocations: 0.7593 MB / 1.489 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2e-07/2.737, allocations: 3.938 kB / 1.489 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002669/2.74, allocations: 0.7213 MB / 1.49 GB, free: 13.91 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.005308/2.745, allocations: 2.499 MB / 1.492 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003105/2.748, allocations: 1.309 MB / 1.494 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/2.748, allocations: 4 kB / 1.494 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001646/2.75, allocations: 0.5118 MB / 1.494 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002458/2.752, allocations: 0.5178 MB / 1.495 GB, free: 9.043 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003785/2.756, allocations: 1.999 MB / 1.497 GB, free: 7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007312/2.757, allocations: 1.297 MB / 1.498 GB, free: 5.672 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001988/2.759, allocations: 0.5626 MB / 1.499 GB, free: 5.121 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005329/2.759, allocations: 487.2 kB / 1.499 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of SimCode: time 1.112e-06/2.759, allocations: 0 / 1.499 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4871/3.246, allocations: 39.9 MB / 1.538 GB, free: 122.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/3.247, allocations: 169.6 kB / 1.538 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.457/6.703, allocations: 0 / 1.538 GB, free: 122.6 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.pipe 2>&1)