Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.PressureDrop.SeriesFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow",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.7329/0.7329, allocations: 128.7 MB / 143.7 MB, free: 2.297 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.001073/0.001073, allocations: 188.2 kB / 173.7 MB, free: 6.113 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.527/1.527, allocations: 205.4 MB / 409 MB, free: 10.48 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.001054/0.001054, allocations: 90.55 kB / 486.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003471, allocations: 10.75 kB / 0.5604 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1525, allocations: 76.77 MB / 0.6354 GB, free: 30.43 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.828/4.981, allocations: 2.139 GB / 2.774 GB, free: 167.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/4.981, allocations: 103.9 kB / 2.774 GB, free: 167.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.339/8.321, allocations: 0.9488 GB / 3.723 GB, free: 164.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.308e-06/8.321, allocations: 3.75 kB / 3.723 GB, free: 164.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001675/8.321, allocations: 34.05 kB / 3.723 GB, free: 164.6 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00431/8.325, allocations: 1.419 MB / 3.724 GB, free: 164 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.965e-05/8.325, allocations: 13.02 kB / 3.724 GB, free: 164 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002165/8.325, allocations: 93 kB / 3.725 GB, free: 164 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/8.327, allocations: 188.1 kB / 3.725 GB, free: 163.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002849/8.329, allocations: 1.111 MB / 3.726 GB, free: 163.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.822e-05/8.33, allocations: 43.31 kB / 3.726 GB, free: 163.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/8.33, allocations: 64.09 kB / 3.726 GB, free: 163.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005895/8.336, allocations: 1.596 MB / 3.727 GB, free: 163.4 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/8.336, allocations: 5.188 kB / 3.727 GB, free: 163.4 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.276e-05/8.336, allocations: 23.7 kB / 3.727 GB, free: 163.4 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/8.336, allocations: 13.19 kB / 3.728 GB, free: 163.4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005211/8.341, allocations: 1.356 MB / 3.729 GB, free: 163.4 MB / 0.6511 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.005427/8.346, allocations: 4.429 MB / 3.733 GB, free: 160.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004247/8.351, allocations: 1.279 MB / 3.734 GB, free: 160.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000304/8.351, allocations: 195.9 kB / 3.735 GB, free: 160 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003892/8.355, allocations: 1.127 MB / 3.736 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 3.566e-06/8.355, allocations: 0 / 3.736 GB, free: 159.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.008489/8.363, allocations: 2.287 MB / 3.738 GB, free: 159.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/8.364, allocations: 80.58 kB / 3.738 GB, free: 159.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001508/8.365, allocations: 0.9829 MB / 3.739 GB, free: 159.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001389/8.365, allocations: 37.86 kB / 3.739 GB, free: 159.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004137/8.366, allocations: 0.4916 MB / 3.739 GB, free: 159.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/8.366, allocations: 109.1 kB / 3.74 GB, free: 159.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/8.366, allocations: 13.94 kB / 3.74 GB, free: 159.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.224e-05/8.366, allocations: 326.2 kB / 3.74 GB, free: 159.1 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/8.367, allocations: 0.5291 MB / 3.74 GB, free: 159.1 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/8.369, allocations: 0.8517 MB / 3.741 GB, free: 158.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/8.37, allocations: 0.5963 MB / 3.742 GB, free: 158.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/8.37, allocations: 3.953 kB / 3.742 GB, free: 158.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.003137/8.373, allocations: 1.363 MB / 3.743 GB, free: 158.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005087/8.374, allocations: 2.045 MB / 3.745 GB, free: 156.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/8.374, allocations: 17.06 kB / 3.745 GB, free: 156.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.823e-05/8.374, allocations: 6.219 kB / 3.745 GB, free: 156.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01301/8.387, allocations: 2.753 MB / 3.748 GB, free: 156.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01073/8.397, allocations: 8.305 MB / 3.756 GB, free: 150.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/8.399, allocations: 231.5 kB / 3.756 GB, free: 150.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/8.4, allocations: 25.53 kB / 3.756 GB, free: 150.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/8.4, allocations: 4.531 kB / 3.756 GB, free: 150.6 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008827/8.401, allocations: 0.531 MB / 3.757 GB, free: 150.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/8.401, allocations: 3.844 kB / 3.757 GB, free: 150.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/8.401, allocations: 11.34 kB / 3.757 GB, free: 150.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005102/8.401, allocations: 150.3 kB / 3.757 GB, free: 150.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/8.401, allocations: 9.469 kB / 3.757 GB, free: 150.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/8.402, allocations: 98.73 kB / 3.757 GB, free: 150.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.904e-05/8.402, allocations: 26 kB / 3.757 GB, free: 150.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007514/8.403, allocations: 468.9 kB / 3.757 GB, free: 150.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/8.403, allocations: 95.75 kB / 3.758 GB, free: 150.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/8.403, allocations: 127.1 kB / 3.758 GB, free: 150.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/8.403, allocations: 2.656 kB / 3.758 GB, free: 150.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/8.403, allocations: 0 / 3.758 GB, free: 150.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/8.403, allocations: 5.375 kB / 3.758 GB, free: 150.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004317/8.408, allocations: 2.253 MB / 3.76 GB, free: 149.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.615e-06/8.408, allocations: 3.562 kB / 3.76 GB, free: 149.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01288/8.421, allocations: 2.789 MB / 3.763 GB, free: 149.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.504e-05/8.421, allocations: 9.375 kB / 3.763 GB, free: 149.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001288/8.421, allocations: 10.81 kB / 3.763 GB, free: 149.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04021/8.461, allocations: 22.81 MB / 3.785 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/8.461, allocations: 0 / 3.785 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003007/8.464, allocations: 1.35 MB / 3.786 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005912/8.465, allocations: 180.7 kB / 3.786 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/8.465, allocations: 10.78 kB / 3.786 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/8.466, allocations: 179 kB / 3.787 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003203/8.466, allocations: 62.73 kB / 3.787 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.603e-05/8.466, allocations: 14.19 kB / 3.787 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001188/8.468, allocations: 0.7792 MB / 3.787 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.91e-07/8.468, allocations: 0 / 3.787 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002095/8.47, allocations: 0.5328 MB / 3.788 GB, free: 136 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004509/8.474, allocations: 3.109 MB / 3.791 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01515/8.489, allocations: 3.891 MB / 3.795 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/8.489, allocations: 0 / 3.795 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.01307/8.503, allocations: 3.023 MB / 3.798 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/8.505, allocations: 451.2 kB / 3.798 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01622/8.521, allocations: 11.08 MB / 3.809 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005944/8.522, allocations: 1.212 MB / 3.81 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001253/8.523, allocations: 368.2 kB / 3.811 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000359/8.524, allocations: 322.3 kB / 3.811 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.292e-06/8.524, allocations: 0 / 3.811 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06802/8.592, allocations: 43.29 MB / 3.853 GB, free: 89.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002361/8.592, allocations: 256.8 kB / 3.853 GB, free: 89.55 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.716/12.31, allocations: 0 / 3.853 GB, free: 89.55 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)