Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",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.9387/0.9387, allocations: 141.8 MB / 149.3 MB, free: 9.227 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.001253/0.001253, allocations: 172.9 kB / 182.2 MB, free: 9.469 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.686/1.686, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0008603/0.0008602, allocations: 88.11 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001728/0.001728, allocations: 269.5 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.573e-05/2.575e-05, allocations: 4 kB / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5175/0.5175, allocations: 82.77 MB / 0.7575 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.021/5.539, allocations: 1.829 GB / 2.586 GB, free: 231 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/5.539, allocations: 91.94 kB / 2.586 GB, free: 230.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.852/11.39, allocations: 1.782 GB / 4.369 GB, free: 52.78 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.675e-06/11.39, allocations: 4 kB / 4.369 GB, free: 52.78 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001297/11.39, allocations: 31.98 kB / 4.369 GB, free: 52.75 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002545/11.39, allocations: 1.134 MB / 4.37 GB, free: 51.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/11.39, allocations: 19.95 kB / 4.37 GB, free: 51.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008472/11.39, allocations: 186.4 kB / 4.37 GB, free: 51.35 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001916/11.4, allocations: 1.074 MB / 4.371 GB, free: 50.22 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/11.4, allocations: 23.92 kB / 4.371 GB, free: 50.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.918e-05/11.4, allocations: 36 kB / 4.371 GB, free: 50.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006457/11.4, allocations: 474.3 kB / 4.371 GB, free: 49.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007468/11.4, allocations: 0.6737 MB / 4.372 GB, free: 48.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/11.4, allocations: 3.984 kB / 4.372 GB, free: 48.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.358e-05/11.4, allocations: 7.938 kB / 4.372 GB, free: 48.94 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/11.4, allocations: 12 kB / 4.372 GB, free: 48.93 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.003315/11.4, allocations: 4.476 MB / 4.377 GB, free: 44.08 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004852/11.4, allocations: 434.5 kB / 4.377 GB, free: 43.64 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002405/11.4, allocations: 242.7 kB / 4.377 GB, free: 43.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002868/11.4, allocations: 194.2 kB / 4.377 GB, free: 43.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003274/11.4, allocations: 267 kB / 4.378 GB, free: 42.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 1.954e-06/11.4, allocations: 224 / 4.378 GB, free: 42.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.0009185/11.4, allocations: 484 kB / 4.378 GB, free: 42.42 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/11.4, allocations: 85.05 kB / 4.378 GB, free: 42.32 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008792/11.4, allocations: 0.8479 MB / 4.379 GB, free: 41.45 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/11.4, allocations: 37.64 kB / 4.379 GB, free: 41.41 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002998/11.41, allocations: 492.2 kB / 4.379 GB, free: 40.92 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.314e-05/11.41, allocations: 102.5 kB / 4.38 GB, free: 40.82 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.203e-05/11.41, allocations: 4 kB / 4.38 GB, free: 40.81 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001032/11.41, allocations: 321.9 kB / 4.38 GB, free: 40.49 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/11.41, allocations: 180.8 kB / 4.38 GB, free: 40.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003731/11.41, allocations: 0.492 MB / 4.381 GB, free: 39.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/11.41, allocations: 270.1 kB / 4.381 GB, free: 39.42 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/11.41, allocations: 0 / 4.381 GB, free: 39.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007794/11.41, allocations: 0.6059 MB / 4.381 GB, free: 38.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005278/11.41, allocations: 2.126 MB / 4.383 GB, free: 36.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/11.41, allocations: 15.98 kB / 4.383 GB, free: 36.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.698e-05/11.41, allocations: 12 kB / 4.383 GB, free: 36.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000452/11.41, allocations: 107.8 kB / 4.384 GB, free: 36.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/11.41, allocations: 15.89 kB / 4.384 GB, free: 36.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008401/11.41, allocations: 91.45 kB / 4.384 GB, free: 36.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.496e-05/11.41, allocations: 24 kB / 4.384 GB, free: 36.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/11.41, allocations: 8 kB / 4.384 GB, free: 36.24 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005177/11.41, allocations: 404 kB / 4.384 GB, free: 35.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.85e-06/11.41, allocations: 12.03 kB / 4.384 GB, free: 35.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/11.41, allocations: 15.92 kB / 4.384 GB, free: 35.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/11.41, allocations: 103.9 kB / 4.384 GB, free: 35.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/11.41, allocations: 11.94 kB / 4.384 GB, free: 35.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000663/11.41, allocations: 79.61 kB / 4.384 GB, free: 35.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/11.41, allocations: 23.94 kB / 4.384 GB, free: 35.61 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001537/11.41, allocations: 136.8 kB / 4.384 GB, free: 35.46 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005287/11.41, allocations: 408.2 kB / 4.385 GB, free: 35.06 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.047e-05/11.41, allocations: 102.8 kB / 4.385 GB, free: 34.96 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006407/11.41, allocations: 435 kB / 4.385 GB, free: 34.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/11.41, allocations: 4 kB / 4.385 GB, free: 34.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/11.41, allocations: 3.984 kB / 4.385 GB, free: 34.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/11.41, allocations: 3.984 kB / 4.385 GB, free: 34.51 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/11.41, allocations: 1.258 MB / 4.387 GB, free: 33.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/11.41, allocations: 8.219 kB / 4.387 GB, free: 33.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/11.41, allocations: 67.89 kB / 4.387 GB, free: 33.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/11.41, allocations: 4 kB / 4.387 GB, free: 33.11 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/11.41, allocations: 7.984 kB / 4.387 GB, free: 33.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/11.41, allocations: 4 kB / 4.387 GB, free: 33.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/11.41, allocations: 3.953 kB / 4.387 GB, free: 33.09 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004563/11.41, allocations: 0.6316 MB / 4.387 GB, free: 32.38 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000223/11.41, allocations: 203.9 kB / 4.388 GB, free: 32.16 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.581e-05/11.41, allocations: 11.94 kB / 4.388 GB, free: 32.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004389/11.42, allocations: 51.8 kB / 4.388 GB, free: 32.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/11.42, allocations: 27.95 kB / 4.388 GB, free: 32.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/11.42, allocations: 12 kB / 4.388 GB, free: 32.06 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000605/11.42, allocations: 0.6689 MB / 4.388 GB, free: 31.38 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/11.42, allocations: 3.938 kB / 4.388 GB, free: 31.38 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001144/11.42, allocations: 443.4 kB / 4.389 GB, free: 30.95 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001747/11.42, allocations: 2.602 MB / 4.391 GB, free: 28.29 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009115/11.42, allocations: 0.7533 MB / 4.392 GB, free: 27.51 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/11.42, allocations: 0 / 4.392 GB, free: 27.51 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002119/11.42, allocations: 175.8 kB / 4.392 GB, free: 27.34 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/11.42, allocations: 395.7 kB / 4.393 GB, free: 26.95 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/11.42, allocations: 1.588 MB / 4.394 GB, free: 25.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005315/11.42, allocations: 1.21 MB / 4.395 GB, free: 24.06 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001702/11.43, allocations: 0.7601 MB / 4.396 GB, free: 23.29 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003294/11.43, allocations: 303.3 kB / 4.396 GB, free: 23 MB / 0.698 GB Notification: Performance of SimCode: time 3.41e-07/11.43, allocations: 0 / 4.396 GB, free: 23 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4285/11.86, allocations: 29.9 MB / 4.425 GB, free: 188.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/11.86, allocations: 201.7 kB / 4.426 GB, free: 188.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.975/14.83, allocations: 0 / 4.426 GB, free: 188.5 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)