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.8535/0.8535, allocations: 143.3 MB / 158.3 MB, free: 5.781 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.001519/0.00152, allocations: 171.6 kB / 191.5 MB, free: 5.77 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.646/1.646, allocations: 223.2 MB / 447.7 MB, free: 4.812 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.001063/0.001063, allocations: 80.39 kB / 0.5187 GB, free: 1.172 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.001731, allocations: 258.8 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004663/0.0004664, allocations: 14.23 kB / 0.6929 GB, free: 59.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2035, allocations: 82.8 MB / 0.7738 GB, free: 13.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9289/1.132, allocations: 379 MB / 1.144 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/1.133, allocations: 96.89 kB / 1.144 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.42/6.552, allocations: 1.339 GB / 2.483 GB, free: 62.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.014e-06/6.552, allocations: 4 kB / 2.483 GB, free: 62.69 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0005336/6.553, allocations: 103.8 kB / 2.484 GB, free: 62.59 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.01591/6.569, allocations: 4.041 MB / 2.488 GB, free: 58.47 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.907e-05/6.569, allocations: 8.562 kB / 2.488 GB, free: 58.46 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001298/6.57, allocations: 232 kB / 2.488 GB, free: 58.23 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003316/6.573, allocations: 0.5267 MB / 2.488 GB, free: 57.7 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01393/6.587, allocations: 4.378 MB / 2.493 GB, free: 53.26 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/6.588, allocations: 139.1 kB / 2.493 GB, free: 53.12 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005536/6.588, allocations: 192 kB / 2.493 GB, free: 52.94 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003714/6.592, allocations: 2.233 MB / 2.495 GB, free: 50.56 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.263e-05/6.592, allocations: 3.938 kB / 2.495 GB, free: 50.56 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001723/6.592, allocations: 72 kB / 2.495 GB, free: 50.49 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.312e-05/6.592, allocations: 40 kB / 2.495 GB, free: 50.45 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003011/6.595, allocations: 1.779 MB / 2.497 GB, free: 48.66 MB / 0.7292 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.01544/6.611, allocations: 11.53 MB / 2.508 GB, free: 36.47 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002168/6.613, allocations: 1.27 MB / 2.509 GB, free: 35.19 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005951/6.619, allocations: 3.449 MB / 2.513 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00113/6.62, allocations: 0.7272 MB / 2.513 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002251/6.622, allocations: 0.6193 MB / 2.514 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=98): time 4.478e-06/6.622, allocations: 0 / 2.514 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=98): time 0.008243/6.631, allocations: 3.56 MB / 2.518 GB, free: 26.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/6.631, allocations: 64.41 kB / 2.518 GB, free: 26.43 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0034/6.634, allocations: 2.488 MB / 2.52 GB, free: 23.94 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001571/6.634, allocations: 57.7 kB / 2.52 GB, free: 23.88 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001147/6.635, allocations: 1.421 MB / 2.521 GB, free: 22.44 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000328/6.636, allocations: 351 kB / 2.522 GB, free: 22.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-05/6.636, allocations: 28 kB / 2.522 GB, free: 22.07 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001121/6.636, allocations: 369.9 kB / 2.522 GB, free: 21.7 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009367/6.637, allocations: 0.5543 MB / 2.523 GB, free: 21.14 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/6.638, allocations: 1.338 MB / 2.524 GB, free: 19.45 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/6.639, allocations: 0.7777 MB / 2.525 GB, free: 18.67 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/6.639, allocations: 7.984 kB / 2.525 GB, free: 18.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004281/6.644, allocations: 2.464 MB / 2.527 GB, free: 16.17 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001431/6.645, allocations: 5.98 MB / 2.533 GB, free: 9.633 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/6.645, allocations: 16 kB / 2.533 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/6.646, allocations: 0.5046 MB / 2.534 GB, free: 9.105 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/6.647, allocations: 269.5 kB / 2.534 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/6.649, allocations: 1.893 MB / 2.536 GB, free: 6.898 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003019/6.652, allocations: 180.2 kB / 2.536 GB, free: 6.723 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001548/6.652, allocations: 79.97 kB / 2.536 GB, free: 6.645 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/6.652, allocations: 4 kB / 2.536 GB, free: 6.641 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003344/6.655, allocations: 2.202 MB / 2.538 GB, free: 4.398 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/6.655, allocations: 12 kB / 2.538 GB, free: 4.387 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007691/6.656, allocations: 477.7 kB / 2.539 GB, free: 3.914 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008929/6.657, allocations: 257.4 kB / 2.539 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6054/7.262, allocations: 5.953 MB / 2.545 GB, free: 86.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003002/7.265, allocations: 173.7 kB / 2.545 GB, free: 86.26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002401/7.266, allocations: 69.95 kB / 2.545 GB, free: 86.26 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 () * Number of clocked 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.002058/7.268, allocations: 0.8304 MB / 2.546 GB, free: 86.07 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007807/7.269, allocations: 290.9 kB / 2.546 GB, free: 86.07 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004455/7.273, allocations: 2.199 MB / 2.548 GB, free: 85.98 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.159e-05/7.273, allocations: 12.3 kB / 2.548 GB, free: 85.98 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/7.273, allocations: 4.609 kB / 2.548 GB, free: 85.98 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003269/7.276, allocations: 1.907 MB / 2.55 GB, free: 85.58 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009534/7.286, allocations: 4.148 MB / 2.554 GB, free: 85.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.854e-06/7.286, allocations: 0 / 2.554 GB, free: 85.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007748/7.287, allocations: 132.3 kB / 2.554 GB, free: 85.08 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001346/7.288, allocations: 491.2 kB / 2.555 GB, free: 85.06 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.657e-05/7.288, allocations: 28.06 kB / 2.555 GB, free: 85.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002008/7.29, allocations: 1.853 MB / 2.556 GB, free: 84.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/7.29, allocations: 1.406 kB / 2.556 GB, free: 84.02 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006458/7.297, allocations: 2.921 MB / 2.559 GB, free: 83.71 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00226/7.299, allocations: 0.4918 MB / 2.56 GB, free: 83.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005603/7.3, allocations: 17.16 kB / 2.56 GB, free: 83.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/7.301, allocations: 142.7 kB / 2.56 GB, free: 83.45 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/7.301, allocations: 66.86 kB / 2.56 GB, free: 83.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/7.301, allocations: 39.67 kB / 2.56 GB, free: 83.45 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.004254/7.306, allocations: 1.939 MB / 2.562 GB, free: 83.31 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.51e-07/7.306, allocations: 0 / 2.562 GB, free: 83.31 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.007041/7.313, allocations: 1.454 MB / 2.563 GB, free: 83.26 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) * Number of clocked states: 0 () * 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.007288/7.32, allocations: 4.357 MB / 2.568 GB, free: 82.1 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00559/7.326, allocations: 2.889 MB / 2.57 GB, free: 81.68 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/7.326, allocations: 6.031 kB / 2.57 GB, free: 81.68 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001301/7.327, allocations: 0.696 MB / 2.571 GB, free: 81.67 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006533/7.334, allocations: 1.188 MB / 2.572 GB, free: 81.65 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01861/7.352, allocations: 17.89 MB / 2.59 GB, free: 67.53 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001741/7.354, allocations: 2.097 MB / 2.592 GB, free: 66.79 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003593/7.358, allocations: 0.731 MB / 2.592 GB, free: 66.76 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00157/7.359, allocations: 1.151 MB / 2.594 GB, free: 66.75 MB / 0.7292 GB Notification: Performance of SimCode: time 2.074e-06/7.359, allocations: 0 / 2.594 GB, free: 66.75 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2043/7.563, allocations: 83.15 MB / 2.675 GB, free: 63.27 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002428/7.564, allocations: 266.6 kB / 2.675 GB, free: 62.93 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.463/13.03, allocations: 0 / 2.675 GB, free: 62.93 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)