Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.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.Example2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example2",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.81/0.81, allocations: 141.8 MB / 149.3 MB, free: 9.188 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.001128/0.001128, allocations: 184.8 kB / 182.2 MB, free: 9.422 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.445/1.445, allocations: 221.5 MB / 436.4 MB, free: 13.26 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.0009558/0.0009558, allocations: 84.12 kB / 0.5074 GB, free: 10.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001771/0.001771, allocations: 276.7 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.1e-05/2.125e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4922/0.4923, allocations: 82.78 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8291/1.321, allocations: 361.1 MB / 1.11 GB, free: 3.527 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/1.322, allocations: 90.02 kB / 1.11 GB, free: 3.484 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.822/3.144, allocations: 485.8 MB / 1.585 GB, free: 116.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.535e-06/3.144, allocations: 4 kB / 1.585 GB, free: 116.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001613/3.144, allocations: 39.53 kB / 1.585 GB, free: 116.9 MB / 0.698 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.002933/3.147, allocations: 1.528 MB / 1.586 GB, free: 115.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/3.147, allocations: 8.031 kB / 1.586 GB, free: 115.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009473/3.148, allocations: 233.9 kB / 1.586 GB, free: 115.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003818/3.152, allocations: 1.933 MB / 1.588 GB, free: 113.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.821e-05/3.152, allocations: 30.7 kB / 1.588 GB, free: 113.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/3.152, allocations: 52 kB / 1.588 GB, free: 113.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009551/3.153, allocations: 0.6208 MB / 1.589 GB, free: 112.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/3.154, allocations: 0.8055 MB / 1.59 GB, free: 111.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/3.154, allocations: 7.938 kB / 1.59 GB, free: 111.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.661e-05/3.154, allocations: 4 kB / 1.59 GB, free: 111.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/3.154, allocations: 20 kB / 1.59 GB, free: 111.6 MB / 0.698 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.004714/3.159, allocations: 4.45 MB / 1.594 GB, free: 106.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007214/3.159, allocations: 0.5595 MB / 1.595 GB, free: 106.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000361/3.16, allocations: 290.1 kB / 1.595 GB, free: 106 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002183/3.162, allocations: 1.685 MB / 1.597 GB, free: 104.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000443/3.162, allocations: 294.3 kB / 1.597 GB, free: 103.9 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003351/3.163, allocations: 91.52 kB / 1.597 GB, free: 103.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=46): time 3.817e-06/3.163, allocations: 0 / 1.597 GB, free: 103.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=46): time 0.001632/3.164, allocations: 0.7104 MB / 1.598 GB, free: 103.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/3.165, allocations: 55.41 kB / 1.598 GB, free: 103.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/3.166, allocations: 1.003 MB / 1.599 GB, free: 102.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.236e-05/3.166, allocations: 29.7 kB / 1.599 GB, free: 102 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004005/3.166, allocations: 0.6331 MB / 1.599 GB, free: 101.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/3.166, allocations: 153.8 kB / 1.599 GB, free: 101.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/3.166, allocations: 0 / 1.599 GB, free: 101.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.564e-05/3.166, allocations: 341.9 kB / 1.6 GB, free: 100.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/3.167, allocations: 201.5 kB / 1.6 GB, free: 100.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004082/3.167, allocations: 0.5363 MB / 1.6 GB, free: 100 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007884/3.168, allocations: 346.9 kB / 1.601 GB, free: 99.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/3.168, allocations: 0 / 1.601 GB, free: 99.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0017/3.17, allocations: 0.9396 MB / 1.602 GB, free: 98.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009252/3.17, allocations: 3.041 MB / 1.605 GB, free: 95.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/3.17, allocations: 8 kB / 1.605 GB, free: 95.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002974/3.171, allocations: 128.1 kB / 1.605 GB, free: 95.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005329/3.171, allocations: 151.3 kB / 1.605 GB, free: 95.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005971/3.172, allocations: 0.7917 MB / 1.606 GB, free: 94.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007546/3.173, allocations: 63.8 kB / 1.606 GB, free: 94.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.011e-05/3.173, allocations: 48.03 kB / 1.606 GB, free: 94.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.715e-06/3.173, allocations: 4 kB / 1.606 GB, free: 94.26 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001371/3.174, allocations: 0.7821 MB / 1.607 GB, free: 93.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/3.174, allocations: 8 kB / 1.607 GB, free: 93.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001795/3.174, allocations: 101.2 kB / 1.607 GB, free: 93.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/3.175, allocations: 147.7 kB / 1.607 GB, free: 93.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/3.176, allocations: 2.109 MB / 1.609 GB, free: 90.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006298/3.177, allocations: 63.91 kB / 1.609 GB, free: 90.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.505e-05/3.177, allocations: 40 kB / 1.609 GB, free: 90.86 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (73): * Single equations (assignments): 70 * 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.0001676/3.177, allocations: 132.7 kB / 1.609 GB, free: 90.72 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001159/3.178, allocations: 0.6523 MB / 1.61 GB, free: 90.06 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/3.179, allocations: 126.4 kB / 1.61 GB, free: 89.93 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/3.18, allocations: 0.7975 MB / 1.611 GB, free: 89.14 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/3.18, allocations: 4 kB / 1.611 GB, free: 89.14 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/3.18, allocations: 3.953 kB / 1.611 GB, free: 89.13 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009288/3.181, allocations: 0.8119 MB / 1.611 GB, free: 88.26 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002328/3.183, allocations: 1.697 MB / 1.613 GB, free: 86.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/3.183, allocations: 0 / 1.613 GB, free: 86.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003816/3.184, allocations: 87.94 kB / 1.613 GB, free: 86.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001636/3.184, allocations: 96.81 kB / 1.613 GB, free: 86.32 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.154e-05/3.184, allocations: 7.984 kB / 1.613 GB, free: 86.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004472/3.184, allocations: 0.7473 MB / 1.614 GB, free: 85.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/3.184, allocations: 7.953 kB / 1.614 GB, free: 85.53 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001349/3.186, allocations: 1.117 MB / 1.615 GB, free: 84.37 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003477/3.186, allocations: 263.4 kB / 1.615 GB, free: 84.09 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/3.186, allocations: 3.984 kB / 1.615 GB, free: 84.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006021/3.187, allocations: 59.94 kB / 1.615 GB, free: 84.03 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.498e-05/3.187, allocations: 44.38 kB / 1.616 GB, free: 83.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.346e-05/3.187, allocations: 23.98 kB / 1.616 GB, free: 83.96 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008096/3.188, allocations: 0.7631 MB / 1.616 GB, free: 83.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/3.188, allocations: 0 / 1.616 GB, free: 83.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002009/3.19, allocations: 0.6861 MB / 1.617 GB, free: 82.51 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002807/3.193, allocations: 2.393 MB / 1.619 GB, free: 80.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001792/3.195, allocations: 1.212 MB / 1.62 GB, free: 78.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/3.195, allocations: 0 / 1.62 GB, free: 78.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004104/3.195, allocations: 285.6 kB / 1.621 GB, free: 78.63 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/3.197, allocations: 0.5117 MB / 1.621 GB, free: 78.15 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003804/3.201, allocations: 2.025 MB / 1.623 GB, free: 76.07 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006344/3.202, allocations: 1.293 MB / 1.624 GB, free: 74.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001765/3.203, allocations: 0.5756 MB / 1.625 GB, free: 74.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004699/3.204, allocations: 479.2 kB / 1.626 GB, free: 73.73 MB / 0.698 GB Notification: Performance of SimCode: time 1.082e-06/3.204, allocations: 0 / 1.626 GB, free: 73.73 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06358/3.268, allocations: 37.16 MB / 1.662 GB, free: 37.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/3.268, allocations: 187.4 kB / 1.662 GB, free: 36.89 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.459/6.727, allocations: 0 / 1.662 GB, free: 36.89 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example2.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.pipe 2>&1)