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.6706/0.6706, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008755/0.0008756, allocations: 186.9 kB / 187.3 MB, free: 11.9 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.225/1.225, allocations: 221.3 MB / 441.4 MB, free: 4.586 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.0008729/0.0008729, allocations: 100.2 kB / 0.5124 GB, free: 24.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001651/0.001651, allocations: 278.8 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.162e-05/3.164e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3211, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.631/0.9521, allocations: 379 MB / 1.134 GB, free: 10.4 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002044/0.9523, allocations: 91.55 kB / 1.135 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.842/4.794, allocations: 1.334 GB / 2.469 GB, free: 76.07 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.663e-06/4.794, allocations: 0 / 2.469 GB, free: 76.07 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0003906/4.795, allocations: 95.95 kB / 2.469 GB, free: 75.98 MB / 0.7292 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.008341/4.803, allocations: 3.126 MB / 2.472 GB, free: 72.79 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/4.803, allocations: 12.03 kB / 2.472 GB, free: 72.77 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004841/4.804, allocations: 232 kB / 2.472 GB, free: 72.54 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002388/4.806, allocations: 0.5314 MB / 2.473 GB, free: 72 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00935/4.815, allocations: 4.304 MB / 2.477 GB, free: 67.64 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/4.816, allocations: 143.1 kB / 2.477 GB, free: 67.5 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003343/4.816, allocations: 184 kB / 2.477 GB, free: 67.32 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002729/4.819, allocations: 2.175 MB / 2.479 GB, free: 65 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.299e-05/4.819, allocations: 3.938 kB / 2.479 GB, free: 65 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001443/4.819, allocations: 71.98 kB / 2.479 GB, free: 64.93 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/4.819, allocations: 40 kB / 2.479 GB, free: 64.89 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002119/4.821, allocations: 1.674 MB / 2.481 GB, free: 63.21 MB / 0.7292 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.01066/4.832, allocations: 11.53 MB / 2.492 GB, free: 51.01 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/4.833, allocations: 1.183 MB / 2.493 GB, free: 49.82 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008881/4.834, allocations: 0.9047 MB / 2.494 GB, free: 48.91 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00456/4.839, allocations: 3.466 MB / 2.498 GB, free: 45.17 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007792/4.839, allocations: 0.6814 MB / 2.498 GB, free: 44.48 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001717/4.841, allocations: 0.6116 MB / 2.499 GB, free: 43.87 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=98): time 2.595e-06/4.841, allocations: 0 / 2.499 GB, free: 43.87 MB / 0.7292 GB Notification: Performance of matching and sorting (n=98): time 0.002364/4.843, allocations: 1.788 MB / 2.501 GB, free: 42.06 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/4.844, allocations: 68.17 kB / 2.501 GB, free: 41.98 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002516/4.846, allocations: 2.467 MB / 2.503 GB, free: 39.52 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.1e-05/4.846, allocations: 57.7 kB / 2.503 GB, free: 39.46 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008011/4.847, allocations: 1.417 MB / 2.505 GB, free: 38.03 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/4.847, allocations: 351.1 kB / 2.505 GB, free: 37.68 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.466e-05/4.847, allocations: 24 kB / 2.505 GB, free: 37.66 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.698e-05/4.847, allocations: 365.9 kB / 2.505 GB, free: 37.29 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006181/4.848, allocations: 0.5116 MB / 2.506 GB, free: 36.78 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008667/4.849, allocations: 1.291 MB / 2.507 GB, free: 35.12 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000793/4.85, allocations: 0.7407 MB / 2.508 GB, free: 34.38 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/4.85, allocations: 4 kB / 2.508 GB, free: 34.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.00282/4.852, allocations: 2.37 MB / 2.51 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000833/4.853, allocations: 5.981 MB / 2.516 GB, free: 25.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/4.853, allocations: 12 kB / 2.516 GB, free: 25.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009941/4.854, allocations: 0.5085 MB / 2.517 GB, free: 24.92 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009485/4.855, allocations: 273.2 kB / 2.517 GB, free: 24.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/4.857, allocations: 1.901 MB / 2.519 GB, free: 22.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/4.859, allocations: 180.2 kB / 2.519 GB, free: 22.53 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/4.859, allocations: 83.97 kB / 2.519 GB, free: 22.45 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/4.859, allocations: 4 kB / 2.519 GB, free: 22.44 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002524/4.861, allocations: 2.113 MB / 2.521 GB, free: 20.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/4.861, allocations: 16 kB / 2.521 GB, free: 20.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007023/4.862, allocations: 469.3 kB / 2.521 GB, free: 19.81 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008322/4.863, allocations: 261.4 kB / 2.522 GB, free: 19.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004885/4.868, allocations: 5.821 MB / 2.527 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/4.87, allocations: 184.1 kB / 2.528 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/4.87, allocations: 67.98 kB / 2.528 GB, free: 13.2 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.0002889/4.87, allocations: 197.1 kB / 2.528 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00028/4.87, allocations: 307.5 kB / 2.528 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003089/4.873, allocations: 2.113 MB / 2.53 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/4.873, allocations: 19.94 kB / 2.53 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/4.873, allocations: 0 / 2.53 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001901/4.875, allocations: 1.826 MB / 2.532 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005073/4.88, allocations: 4.059 MB / 2.536 GB, free: 4.527 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/4.88, allocations: 0 / 2.536 GB, free: 4.527 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006043/4.881, allocations: 137.2 kB / 2.536 GB, free: 4.391 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008579/4.882, allocations: 472.8 kB / 2.536 GB, free: 3.922 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-05/4.882, allocations: 27.97 kB / 2.536 GB, free: 3.895 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/4.883, allocations: 1.853 MB / 2.538 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/4.883, allocations: 4.031 kB / 2.538 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3496/5.233, allocations: 2.789 MB / 2.541 GB, free: 100.6 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001441/5.234, allocations: 497.2 kB / 2.542 GB, free: 100.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003022/5.235, allocations: 19.58 kB / 2.542 GB, free: 100.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/5.236, allocations: 145.8 kB / 2.542 GB, free: 100.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/5.236, allocations: 68.67 kB / 2.542 GB, free: 100.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/5.236, allocations: 39.77 kB / 2.542 GB, free: 100.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002815/5.239, allocations: 1.911 MB / 2.544 GB, free: 100.3 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.9e-07/5.239, allocations: 0 / 2.544 GB, free: 100.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00384/5.243, allocations: 1.456 MB / 2.545 GB, free: 100.3 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.004534/5.247, allocations: 4.222 MB / 2.549 GB, free: 99.39 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003503/5.251, allocations: 2.876 MB / 2.552 GB, free: 98.96 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/5.251, allocations: 0 / 2.552 GB, free: 98.96 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000832/5.252, allocations: 0.6513 MB / 2.553 GB, free: 98.96 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004288/5.256, allocations: 1.187 MB / 2.554 GB, free: 98.94 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006347/5.262, allocations: 4.621 MB / 2.558 GB, free: 97.94 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/5.264, allocations: 2.099 MB / 2.56 GB, free: 97.2 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004154/5.268, allocations: 1.59 MB / 2.562 GB, free: 97.17 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009768/5.269, allocations: 1.099 MB / 2.563 GB, free: 97.17 MB / 0.7292 GB Notification: Performance of SimCode: time 6.92e-07/5.269, allocations: 1.406 kB / 2.563 GB, free: 97.17 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.108/5.377, allocations: 90.08 MB / 2.651 GB, free: 93.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001392/5.377, allocations: 233.3 kB / 2.651 GB, free: 93.33 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.583/9.96, allocations: 0 / 2.651 GB, free: 93.33 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)