Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",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.8365/0.8365, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.001038/0.001038, allocations: 184.8 kB / 182.2 MB, free: 9.445 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.458/1.458, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0008672/0.0008671, allocations: 88.08 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001914/0.001914, allocations: 270.5 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.302e-05/2.311e-05, allocations: 4 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4665/0.4665, allocations: 82.77 MB / 0.7575 GB, free: 31.94 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.54/5.007, allocations: 1.829 GB / 2.586 GB, free: 188.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/5.007, allocations: 95.98 kB / 2.586 GB, free: 188.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.937/10.94, allocations: 1.784 GB / 4.37 GB, free: 22.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.072e-06/10.94, allocations: 0 / 4.37 GB, free: 22.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000102/10.94, allocations: 31.98 kB / 4.37 GB, free: 22.41 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.003308/10.95, allocations: 1.228 MB / 4.372 GB, free: 21.13 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/10.95, allocations: 11.97 kB / 4.372 GB, free: 21.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000907/10.95, allocations: 186.4 kB / 4.372 GB, free: 20.94 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003092/10.95, allocations: 1.389 MB / 4.373 GB, free: 19.49 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/10.95, allocations: 16 kB / 4.373 GB, free: 19.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.168e-05/10.95, allocations: 39.98 kB / 4.373 GB, free: 19.44 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006863/10.95, allocations: 0.4905 MB / 4.374 GB, free: 18.95 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007859/10.95, allocations: 0.6962 MB / 4.374 GB, free: 18.17 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/10.95, allocations: 7.938 kB / 4.374 GB, free: 18.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.143e-05/10.95, allocations: 4 kB / 4.374 GB, free: 18.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/10.95, allocations: 12 kB / 4.374 GB, free: 18.15 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.002891/10.96, allocations: 4.074 MB / 4.378 GB, free: 13.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005068/10.96, allocations: 463.4 kB / 4.379 GB, free: 13.36 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003236/10.96, allocations: 336 kB / 4.379 GB, free: 13.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002818/10.96, allocations: 190.1 kB / 4.379 GB, free: 12.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003342/10.96, allocations: 290.9 kB / 4.38 GB, free: 12.5 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002472/10.96, allocations: 15.78 kB / 4.38 GB, free: 12.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/10.96, allocations: 0 / 4.38 GB, free: 12.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.00158/10.96, allocations: 0.7953 MB / 4.38 GB, free: 11.68 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/10.96, allocations: 89.05 kB / 4.381 GB, free: 11.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008608/10.96, allocations: 0.8518 MB / 4.381 GB, free: 10.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.847e-05/10.96, allocations: 25.81 kB / 4.381 GB, free: 10.67 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003121/10.96, allocations: 496.1 kB / 4.382 GB, free: 10.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.461e-05/10.96, allocations: 110.4 kB / 4.382 GB, free: 10.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.155e-05/10.96, allocations: 0 / 4.382 GB, free: 10.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.53e-05/10.96, allocations: 326 kB / 4.382 GB, free: 9.746 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/10.96, allocations: 201 kB / 4.382 GB, free: 9.547 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003768/10.96, allocations: 0.5018 MB / 4.383 GB, free: 8.902 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/10.96, allocations: 298.3 kB / 4.383 GB, free: 8.613 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/10.96, allocations: 4 kB / 4.383 GB, free: 8.609 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001366/10.96, allocations: 0.9317 MB / 4.384 GB, free: 7.668 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005023/10.96, allocations: 2.122 MB / 4.386 GB, free: 5.379 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/10.96, allocations: 4 kB / 4.386 GB, free: 5.375 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004614/10.96, allocations: 248.6 kB / 4.386 GB, free: 5.129 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/10.96, allocations: 68.72 kB / 4.387 GB, free: 5.062 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009393/10.97, allocations: 1.144 MB / 4.388 GB, free: 3.895 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009204/10.97, allocations: 83.81 kB / 4.388 GB, free: 3.812 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.834e-05/10.97, allocations: 27.94 kB / 4.388 GB, free: 3.785 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/10.97, allocations: 5.719 kB / 4.388 GB, free: 3.781 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009632/10.97, allocations: 0.6409 MB / 4.388 GB, free: 3.137 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/10.97, allocations: 8 kB / 4.388 GB, free: 3.129 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005123/10.97, allocations: 224.7 kB / 4.389 GB, free: 2.906 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/10.97, allocations: 67.91 kB / 4.389 GB, free: 2.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4561/11.42, allocations: 2.88 MB / 4.391 GB, free: 191.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/11.43, allocations: 76.33 kB / 4.392 GB, free: 191.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001854/11.43, allocations: 23.42 kB / 4.392 GB, free: 191.8 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_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 (35): * Single equations (assignments): 33 * 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 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.0003417/11.43, allocations: 126.5 kB / 4.392 GB, free: 191.7 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001921/11.43, allocations: 0.6691 MB / 4.392 GB, free: 191.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003985/11.43, allocations: 94.31 kB / 4.392 GB, free: 191.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001851/11.43, allocations: 0.708 MB / 4.393 GB, free: 191.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/11.43, allocations: 2.594 kB / 4.393 GB, free: 191.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/11.43, allocations: 0.9062 kB / 4.393 GB, free: 191.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/11.43, allocations: 6.594 kB / 4.393 GB, free: 191.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004194/11.43, allocations: 1.586 MB / 4.395 GB, free: 191.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/11.43, allocations: 2.375 kB / 4.395 GB, free: 191.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/11.44, allocations: 33.78 kB / 4.395 GB, free: 191.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005177/11.44, allocations: 201.3 kB / 4.395 GB, free: 191.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-05/11.44, allocations: 5.125 kB / 4.395 GB, free: 191.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/11.44, allocations: 1.012 MB / 4.396 GB, free: 190.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/11.44, allocations: 5.859 kB / 4.396 GB, free: 190.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/11.44, allocations: 0.9208 MB / 4.397 GB, free: 190.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006236/11.44, allocations: 219.7 kB / 4.397 GB, free: 190.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002912/11.44, allocations: 3.922 kB / 4.397 GB, free: 190.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008904/11.44, allocations: 63 kB / 4.397 GB, free: 190.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/11.44, allocations: 31.94 kB / 4.397 GB, free: 190.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.037e-05/11.44, allocations: 11.22 kB / 4.397 GB, free: 190.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001383/11.44, allocations: 0.667 MB / 4.398 GB, free: 190 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.9e-07/11.44, allocations: 0 / 4.398 GB, free: 190 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002449/11.44, allocations: 0.517 MB / 4.398 GB, free: 190 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_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 (13): * Single equations (assignments): 10 * 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 {1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.003041/11.45, allocations: 2.761 MB / 4.401 GB, free: 188.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001847/11.45, allocations: 1.042 MB / 4.402 GB, free: 188.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/11.45, allocations: 0.5 kB / 4.402 GB, free: 188.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003429/11.45, allocations: 212.3 kB / 4.402 GB, free: 188.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003247/11.45, allocations: 0.5372 MB / 4.403 GB, free: 188.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003702/11.46, allocations: 1.623 MB / 4.404 GB, free: 187.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/11.46, allocations: 1.204 MB / 4.405 GB, free: 187.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002117/11.46, allocations: 0.6694 MB / 4.406 GB, free: 187.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003588/11.46, allocations: 300.4 kB / 4.406 GB, free: 187.1 MB / 0.698 GB Notification: Performance of SimCode: time 2.916e-06/11.46, allocations: 0.5 kB / 4.406 GB, free: 187.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06509/11.53, allocations: 33.63 MB / 4.439 GB, free: 186.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/11.53, allocations: 217.2 kB / 4.439 GB, free: 186.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.125/14.65, allocations: 0 / 4.439 GB, free: 186.2 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)