Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example1v1,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example1v1,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8529/0.8529, allocations: 141.8 MB / 149.3 MB, free: 9.219 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 184.8 kB / 182.2 MB, free: 9.441 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 221.5 MB / 436.4 MB, free: 13.28 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000943/0.0009429, allocations: 93.67 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001732/0.001732, allocations: 266.3 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.718e-05/2.72e-05, allocations: 0 / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4546/0.4546, allocations: 82.77 MB / 0.7575 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8461/1.301, allocations: 378.3 MB / 1.127 GB, free: 2.137 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/1.301, allocations: 91.39 kB / 1.127 GB, free: 2.094 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.976/6.277, allocations: 1.327 GB / 2.454 GB, free: 60.07 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.605e-06/6.277, allocations: 0 / 2.454 GB, free: 60.07 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0006374/6.278, allocations: 98.72 kB / 2.455 GB, free: 59.98 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.01189/6.29, allocations: 3.116 MB / 2.458 GB, free: 56.83 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/6.29, allocations: 8.031 kB / 2.458 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003433/6.294, allocations: 0.5392 MB / 2.458 GB, free: 56.28 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01328/6.307, allocations: 4.317 MB / 2.462 GB, free: 51.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/6.307, allocations: 48 kB / 2.462 GB, free: 51.94 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005303/6.308, allocations: 120 kB / 2.463 GB, free: 51.82 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002761/6.31, allocations: 1.611 MB / 2.464 GB, free: 50.21 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002675/6.313, allocations: 1.821 MB / 2.466 GB, free: 48.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.568e-05/6.313, allocations: 7.938 kB / 2.466 GB, free: 48.24 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/6.313, allocations: 4 kB / 2.466 GB, free: 48.23 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.301e-05/6.313, allocations: 43.95 kB / 2.466 GB, free: 48.19 MB / 0.7136 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.01532/6.329, allocations: 11.22 MB / 2.477 GB, free: 36.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/6.33, allocations: 1.223 MB / 2.478 GB, free: 35.17 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009734/6.331, allocations: 0.9047 MB / 2.479 GB, free: 34.26 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005635/6.337, allocations: 3.403 MB / 2.482 GB, free: 30.61 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008003/6.338, allocations: 0.6438 MB / 2.483 GB, free: 29.95 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002196/6.34, allocations: 0.5801 MB / 2.483 GB, free: 29.38 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=98): time 4.349e-06/6.34, allocations: 0 / 2.483 GB, free: 29.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=98): time 0.006736/6.347, allocations: 2.458 MB / 2.486 GB, free: 26.92 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/6.347, allocations: 64.19 kB / 2.486 GB, free: 26.84 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002923/6.35, allocations: 2.205 MB / 2.488 GB, free: 24.63 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001224/6.35, allocations: 33.7 kB / 2.488 GB, free: 24.59 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001013/6.351, allocations: 1.413 MB / 2.489 GB, free: 23.16 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002765/6.351, allocations: 331.1 kB / 2.49 GB, free: 22.83 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.229e-05/6.351, allocations: 3.938 kB / 2.49 GB, free: 22.83 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.123e-05/6.351, allocations: 369.8 kB / 2.49 GB, free: 22.46 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006315/6.352, allocations: 0.5232 MB / 2.491 GB, free: 21.94 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009126/6.353, allocations: 1.269 MB / 2.492 GB, free: 20.3 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00452/6.357, allocations: 1.329 MB / 2.493 GB, free: 18.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/6.357, allocations: 4 kB / 2.493 GB, free: 18.97 MB / 0.7136 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.007657/6.365, allocations: 2.922 MB / 2.496 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001218/6.366, allocations: 5.945 MB / 2.502 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/6.366, allocations: 16 kB / 2.502 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008999/6.367, allocations: 441.2 kB / 2.502 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/6.368, allocations: 269.3 kB / 2.503 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/6.37, allocations: 2.018 MB / 2.505 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002691/6.373, allocations: 140.1 kB / 2.505 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/6.373, allocations: 83.97 kB / 2.505 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/6.373, allocations: 4 kB / 2.505 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006557/6.379, allocations: 2.516 MB / 2.507 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.289e-05/6.379, allocations: 12 kB / 2.507 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007636/6.38, allocations: 405.5 kB / 2.508 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009802/6.381, allocations: 261.4 kB / 2.508 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007193/6.388, allocations: 5.604 MB / 2.513 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003642/6.392, allocations: 144.1 kB / 2.513 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004327/6.393, allocations: 67.98 kB / 2.514 GB, free: 13.25 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0006022/6.393, allocations: 154 kB / 2.514 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007245/6.4, allocations: 2.284 MB / 2.516 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007041/6.401, allocations: 284.4 kB / 2.516 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007388/6.409, allocations: 2.602 MB / 2.519 GB, free: 7.914 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/6.409, allocations: 8 kB / 2.519 GB, free: 7.906 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/6.409, allocations: 0 / 2.519 GB, free: 7.906 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005844/6.414, allocations: 2.315 MB / 2.521 GB, free: 5.531 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01105/6.426, allocations: 4.393 MB / 2.525 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/6.426, allocations: 0 / 2.525 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007097/6.426, allocations: 137.5 kB / 2.525 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008119/6.427, allocations: 384.9 kB / 2.526 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.718e-05/6.427, allocations: 19.98 kB / 2.526 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5708/6.998, allocations: 1.855 MB / 2.528 GB, free: 102.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.887e-06/6.998, allocations: 4.781 kB / 2.528 GB, free: 102.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009387/7.007, allocations: 3.27 MB / 2.531 GB, free: 102.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001805/7.009, allocations: 488 kB / 2.531 GB, free: 102.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004291/7.01, allocations: 3.281 kB / 2.531 GB, free: 102.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/7.011, allocations: 124.7 kB / 2.531 GB, free: 102.1 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/7.011, allocations: 77.52 kB / 2.531 GB, free: 102.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/7.011, allocations: 35.31 kB / 2.532 GB, free: 102.1 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002948/7.014, allocations: 1.682 MB / 2.533 GB, free: 102 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.91e-07/7.014, allocations: 0 / 2.533 GB, free: 102 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005428/7.02, allocations: 1.396 MB / 2.535 GB, free: 101.9 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.01038/7.03, allocations: 4.649 MB / 2.539 GB, free: 100.8 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.006036/7.036, allocations: 2.756 MB / 2.542 GB, free: 100.4 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/7.036, allocations: 2.844 kB / 2.542 GB, free: 100.4 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0009837/7.037, allocations: 0.64 MB / 2.542 GB, free: 100.4 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005741/7.043, allocations: 1.064 MB / 2.543 GB, free: 100.4 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/7.053, allocations: 4.5 MB / 2.548 GB, free: 99.37 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001487/7.055, allocations: 2.098 MB / 2.55 GB, free: 98.63 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004938/7.06, allocations: 1.411 MB / 2.551 GB, free: 98.61 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00138/7.061, allocations: 1.095 MB / 2.552 GB, free: 98.61 MB / 0.7292 GB Notification: Performance of SimCode: time 1.092e-06/7.061, allocations: 0 / 2.552 GB, free: 98.61 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1457/7.207, allocations: 78.08 MB / 2.629 GB, free: 95.46 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/7.207, allocations: 178 kB / 2.629 GB, free: 95.26 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.245/12.45, allocations: 0 / 2.629 GB, free: 95.26 MB / 0.7292 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example1v1.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.pipe 2>&1)