Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.PressureDrop.SeriesParallelDp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",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.8445/0.8445, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.001231/0.001231, allocations: 176.8 kB / 182.2 MB, free: 9.453 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.575/1.575, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.001065/0.001065, allocations: 89.97 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001855/0.001855, allocations: 278.6 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.797e-05/1.799e-05, allocations: 4 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4866/0.4867, allocations: 82.78 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.05/5.537, allocations: 1.831 GB / 2.589 GB, free: 228.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/5.537, allocations: 91.94 kB / 2.589 GB, free: 228.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.908/9.446, allocations: 1.078 GB / 3.667 GB, free: 177.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.543e-06/9.446, allocations: 0 / 3.667 GB, free: 177.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001241/9.446, allocations: 29.11 kB / 3.667 GB, free: 177.7 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.004325/9.45, allocations: 1.28 MB / 3.668 GB, free: 177.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.679e-05/9.45, allocations: 9.125 kB / 3.668 GB, free: 177.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/9.452, allocations: 207.3 kB / 3.668 GB, free: 177 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003731/9.455, allocations: 1.444 MB / 3.67 GB, free: 176.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.354e-05/9.455, allocations: 18.91 kB / 3.67 GB, free: 176.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/9.455, allocations: 40.67 kB / 3.67 GB, free: 176.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001118/9.457, allocations: 0.7034 MB / 3.67 GB, free: 176.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/9.458, allocations: 0.839 MB / 3.671 GB, free: 176.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/9.458, allocations: 8.875 kB / 3.671 GB, free: 176.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.945e-05/9.458, allocations: 0 / 3.671 GB, free: 176.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/9.458, allocations: 18.62 kB / 3.671 GB, free: 176.5 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.004652/9.462, allocations: 4.582 MB / 3.676 GB, free: 173.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002547/9.465, allocations: 4.033 MB / 3.68 GB, free: 169.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004804/9.466, allocations: 340 kB / 3.68 GB, free: 169.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003908/9.466, allocations: 197.9 kB / 3.68 GB, free: 169 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005282/9.466, allocations: 305.3 kB / 3.68 GB, free: 168.9 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006691/9.467, allocations: 17.56 kB / 3.68 GB, free: 168.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 5.951e-06/9.467, allocations: 0 / 3.68 GB, free: 168.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.002589/9.47, allocations: 0.8437 MB / 3.681 GB, free: 168.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/9.47, allocations: 86.3 kB / 3.681 GB, free: 168.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/9.472, allocations: 0.8979 MB / 3.682 GB, free: 168.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.416e-05/9.472, allocations: 33.36 kB / 3.682 GB, free: 168.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006717/9.472, allocations: 0.5239 MB / 3.683 GB, free: 168.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/9.473, allocations: 122.6 kB / 3.683 GB, free: 168.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/9.473, allocations: 0 / 3.683 GB, free: 168.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001407/9.473, allocations: 331.7 kB / 3.683 GB, free: 168 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003329/9.473, allocations: 203.9 kB / 3.683 GB, free: 168 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006464/9.474, allocations: 0.5401 MB / 3.684 GB, free: 167.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004619/9.474, allocations: 300.6 kB / 3.684 GB, free: 167.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/9.474, allocations: 3.75 kB / 3.684 GB, free: 167.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002103/9.476, allocations: 0.9908 MB / 3.685 GB, free: 167.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008149/9.477, allocations: 2.21 MB / 3.687 GB, free: 165.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.458e-05/9.477, allocations: 3.5 kB / 3.687 GB, free: 165.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006078/9.478, allocations: 292.8 kB / 3.688 GB, free: 165.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/9.478, allocations: 73.14 kB / 3.688 GB, free: 165.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001514/9.48, allocations: 1.232 MB / 3.689 GB, free: 164.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/9.481, allocations: 89.64 kB / 3.689 GB, free: 164.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.851e-05/9.481, allocations: 26.56 kB / 3.689 GB, free: 164.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/9.481, allocations: 7.75 kB / 3.689 GB, free: 164.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001192/9.482, allocations: 0.6809 MB / 3.69 GB, free: 164.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/9.482, allocations: 11.55 kB / 3.69 GB, free: 164.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005089/9.483, allocations: 228.4 kB / 3.69 GB, free: 164.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000302/9.483, allocations: 81.72 kB / 3.69 GB, free: 164.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00372/9.487, allocations: 2.978 MB / 3.693 GB, free: 163.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/9.488, allocations: 98.44 kB / 3.693 GB, free: 163.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.694e-05/9.488, allocations: 22.09 kB / 3.693 GB, free: 163.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * Array equations: 0 * 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002885/9.489, allocations: 126.9 kB / 3.693 GB, free: 163.1 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001316/9.49, allocations: 0.7118 MB / 3.694 GB, free: 163 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002969/9.49, allocations: 107.3 kB / 3.694 GB, free: 162.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/9.492, allocations: 0.7414 MB / 3.695 GB, free: 162.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/9.492, allocations: 3.906 kB / 3.695 GB, free: 162.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/9.492, allocations: 0 / 3.695 GB, free: 162.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/9.492, allocations: 3.953 kB / 3.695 GB, free: 162.8 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 postOpt removeSimpleEquations (simulation): time 0.003449/9.495, allocations: 2.048 MB / 3.697 GB, free: 162 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/9.495, allocations: 0 / 3.697 GB, free: 162 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/9.495, allocations: 57.05 kB / 3.697 GB, free: 162 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003551/9.496, allocations: 194.3 kB / 3.697 GB, free: 162 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/9.496, allocations: 3.656 kB / 3.697 GB, free: 162 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008532/9.497, allocations: 0.9563 MB / 3.698 GB, free: 161.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/9.497, allocations: 7.078 kB / 3.698 GB, free: 161.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/9.498, allocations: 0.932 MB / 3.699 GB, free: 161 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005208/9.498, allocations: 222 kB / 3.699 GB, free: 160.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000251/9.499, allocations: 7.438 kB / 3.699 GB, free: 160.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008878/9.499, allocations: 81.44 kB / 3.699 GB, free: 160.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/9.5, allocations: 36.17 kB / 3.699 GB, free: 160.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-05/9.5, allocations: 13.78 kB / 3.699 GB, free: 160.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001106/9.501, allocations: 0.7042 MB / 3.7 GB, free: 160.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/9.501, allocations: 0 / 3.7 GB, free: 160.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002423/9.503, allocations: 0.5669 MB / 3.7 GB, free: 160.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00334/9.507, allocations: 3.075 MB / 3.703 GB, free: 159.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00265/9.509, allocations: 1.226 MB / 3.704 GB, free: 158.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/9.509, allocations: 3.828 kB / 3.704 GB, free: 158.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000527/9.51, allocations: 287 kB / 3.705 GB, free: 158.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00352/9.513, allocations: 0.5849 MB / 3.705 GB, free: 158.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004281/9.518, allocations: 1.71 MB / 3.707 GB, free: 158.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009427/9.519, allocations: 1.235 MB / 3.708 GB, free: 157.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002351/9.521, allocations: 0.7254 MB / 3.709 GB, free: 157.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004454/9.521, allocations: 328.2 kB / 3.709 GB, free: 157.6 MB / 0.698 GB Notification: Performance of SimCode: time 2.675e-06/9.521, allocations: 3.594 kB / 3.709 GB, free: 157.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07798/9.599, allocations: 36.92 MB / 3.745 GB, free: 136.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002186/9.6, allocations: 201.3 kB / 3.745 GB, free: 136 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.267/12.87, allocations: 0 / 3.745 GB, free: 136 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)