Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.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.Example1v1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example1v1",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.6914/0.6914, allocations: 127.4 MB / 134.9 MB, free: 3.801 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.001159/0.001159, allocations: 175.1 kB / 164.6 MB, free: 6.613 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.564/1.564, allocations: 205.2 MB / 399.5 MB, free: 5.922 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.001014/0.001014, allocations: 94.2 kB / 476.7 MB, free: 8.648 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.943e-05/2.936e-05, allocations: 4 kB / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1682, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.195/1.363, allocations: 389.7 MB / 1.002 GB, free: 129.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/1.364, allocations: 95.75 kB / 1.002 GB, free: 129.4 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.708/6.071, allocations: 1.312 GB / 2.315 GB, free: 62.92 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.014e-06/6.071, allocations: 0 / 2.315 GB, free: 62.92 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0006104/6.072, allocations: 96.78 kB / 2.315 GB, free: 62.9 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 395 * Number of variables: 395 Notification: Performance of Generate backend data structure: time 0.0111/6.083, allocations: 3.094 MB / 2.318 GB, free: 60.45 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/6.083, allocations: 8.031 kB / 2.318 GB, free: 60.44 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003376/6.087, allocations: 0.5727 MB / 2.318 GB, free: 59.86 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01112/6.098, allocations: 4.477 MB / 2.323 GB, free: 55.41 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.214e-05/6.098, allocations: 56 kB / 2.323 GB, free: 55.35 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004497/6.098, allocations: 112 kB / 2.323 GB, free: 55.24 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002555/6.101, allocations: 1.611 MB / 2.324 GB, free: 53.63 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002412/6.103, allocations: 1.813 MB / 2.326 GB, free: 51.68 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.01e-05/6.103, allocations: 7.938 kB / 2.326 GB, free: 51.67 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/6.103, allocations: 4 kB / 2.326 GB, free: 51.66 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/6.104, allocations: 40 kB / 2.326 GB, free: 51.62 MB / 0.6667 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.01451/6.118, allocations: 11.38 MB / 2.337 GB, free: 39.63 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/6.12, allocations: 1.213 MB / 2.338 GB, free: 38.41 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009128/6.121, allocations: 0.8853 MB / 2.339 GB, free: 37.52 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004913/6.125, allocations: 3.06 MB / 2.342 GB, free: 34.24 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007935/6.126, allocations: 0.7034 MB / 2.343 GB, free: 33.52 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001989/6.128, allocations: 0.5792 MB / 2.344 GB, free: 32.94 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=95): time 4.007e-06/6.128, allocations: 0 / 2.344 GB, free: 32.94 MB / 0.6667 GB Notification: Performance of matching and sorting (n=95): time 0.02029/6.149, allocations: 3.95 MB / 2.347 GB, free: 28.98 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/6.149, allocations: 115.5 kB / 2.347 GB, free: 28.84 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003167/6.152, allocations: 2.199 MB / 2.35 GB, free: 26.64 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003845/6.152, allocations: 33.7 kB / 2.35 GB, free: 26.61 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000974/6.153, allocations: 1.444 MB / 2.351 GB, free: 25.14 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002968/6.154, allocations: 327.2 kB / 2.351 GB, free: 24.82 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.832e-05/6.154, allocations: 0 / 2.351 GB, free: 24.82 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001012/6.154, allocations: 357.9 kB / 2.352 GB, free: 24.46 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000808/6.155, allocations: 0.6559 MB / 2.352 GB, free: 23.81 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/6.156, allocations: 1.406 MB / 2.354 GB, free: 22.04 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004609/6.16, allocations: 1.426 MB / 2.355 GB, free: 20.62 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/6.16, allocations: 4 kB / 2.355 GB, free: 20.61 MB / 0.6667 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01858/6.179, allocations: 4.173 MB / 2.359 GB, free: 16.43 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0011/6.18, allocations: 6.063 MB / 2.365 GB, free: 9.785 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/6.18, allocations: 12 kB / 2.365 GB, free: 9.773 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/6.182, allocations: 0.7971 MB / 2.366 GB, free: 8.973 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/6.183, allocations: 261.5 kB / 2.366 GB, free: 8.715 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003636/6.186, allocations: 2.76 MB / 2.369 GB, free: 5.902 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004772/6.191, allocations: 194.6 kB / 2.369 GB, free: 5.715 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005979/6.192, allocations: 91.94 kB / 2.369 GB, free: 5.625 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/6.192, allocations: 4 kB / 2.369 GB, free: 5.621 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007425/6.199, allocations: 2.505 MB / 2.372 GB, free: 3.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/6.199, allocations: 12 kB / 2.372 GB, free: 3.078 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007429/6.2, allocations: 409.4 kB / 2.372 GB, free: 2.672 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009597/6.201, allocations: 269.3 kB / 2.372 GB, free: 2.406 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00656/6.208, allocations: 5.616 MB / 2.378 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002743/6.211, allocations: 148.1 kB / 2.378 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001631/6.211, allocations: 67.98 kB / 2.378 GB, free: 12.35 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (132): * Single equations (assignments): 128 * 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.0006/6.211, allocations: 157.9 kB / 2.378 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01705/6.228, allocations: 3.428 MB / 2.381 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0011/6.23, allocations: 280.4 kB / 2.382 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01747/6.247, allocations: 3.683 MB / 2.385 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.433e-05/6.247, allocations: 8 kB / 2.385 GB, free: 4.785 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/6.247, allocations: 0 / 2.385 GB, free: 4.785 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01676/6.264, allocations: 3.448 MB / 2.389 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5074/6.771, allocations: 5.549 MB / 2.394 GB, free: 91.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-05/6.771, allocations: 1.188 kB / 2.394 GB, free: 91.44 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008407/6.772, allocations: 124.3 kB / 2.394 GB, free: 91.44 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001607/6.774, allocations: 0.7326 MB / 2.395 GB, free: 91.43 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001585/6.774, allocations: 31.08 kB / 2.395 GB, free: 91.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0275/6.802, allocations: 10.04 MB / 2.405 GB, free: 88.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/6.802, allocations: 1.375 kB / 2.405 GB, free: 88.82 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01985/6.821, allocations: 4.536 MB / 2.409 GB, free: 88.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001889/6.823, allocations: 498.5 kB / 2.41 GB, free: 88.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000509/6.824, allocations: 4.984 kB / 2.41 GB, free: 88.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002048/6.826, allocations: 171.6 kB / 2.41 GB, free: 88.48 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004244/6.826, allocations: 104.8 kB / 2.41 GB, free: 88.47 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/6.827, allocations: 48.97 kB / 2.41 GB, free: 88.47 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002945/6.83, allocations: 1.666 MB / 2.412 GB, free: 88.32 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2e-07/6.83, allocations: 3.094 kB / 2.412 GB, free: 88.32 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006841/6.836, allocations: 1.512 MB / 2.413 GB, free: 88.27 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (56): * Single equations (assignments): 49 * 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: 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.02068/6.857, allocations: 6.034 MB / 2.419 GB, free: 87.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005525/6.863, allocations: 3.174 MB / 2.422 GB, free: 86.89 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/6.863, allocations: 0 / 2.422 GB, free: 86.89 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002605/6.865, allocations: 1.302 MB / 2.423 GB, free: 86.63 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005555/6.871, allocations: 1.081 MB / 2.424 GB, free: 86.61 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/6.884, allocations: 5.068 MB / 2.429 GB, free: 85.63 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/6.885, allocations: 2.093 MB / 2.431 GB, free: 84.89 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.004766/6.89, allocations: 1.508 MB / 2.433 GB, free: 84.87 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001182/6.891, allocations: 1.117 MB / 2.434 GB, free: 84.86 MB / 0.6823 GB Notification: Performance of SimCode: time 1.012e-06/6.891, allocations: 0 / 2.434 GB, free: 84.86 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1467/7.038, allocations: 92.24 MB / 2.524 GB, free: 80.44 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00013/7.038, allocations: 173 kB / 2.524 GB, free: 80.24 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.422/12.46, allocations: 0 / 2.524 GB, free: 80.24 MB / 0.6823 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example1v1.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.pipe 2>&1)