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: translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7881/0.7881, allocations: 141.9 MB / 149.3 MB, free: 9.207 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.001037/0.001037, allocations: 184.2 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.461/1.461, allocations: 221.5 MB / 436.4 MB, free: 13.27 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.0008914/0.0008911, allocations: 94.89 kB / 0.5074 GB, free: 10.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001736/0.001736, allocations: 280.5 kB / 0.5889 GB, free: 54.62 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.57e-05/1.572e-05, allocations: 4 kB / 0.6765 GB, free: 12.77 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.4235, allocations: 82.76 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.707/5.131, allocations: 1.829 GB / 2.586 GB, free: 189 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/5.131, allocations: 87.45 kB / 2.586 GB, free: 189 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.88/11.01, allocations: 1.784 GB / 4.37 GB, free: 23 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.352e-06/11.01, allocations: 0 / 4.37 GB, free: 23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001023/11.01, allocations: 35.98 kB / 4.37 GB, free: 22.96 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.003241/11.01, allocations: 1.227 MB / 4.372 GB, free: 21.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/11.01, allocations: 12.03 kB / 4.372 GB, free: 21.67 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008392/11.01, allocations: 182.5 kB / 4.372 GB, free: 21.49 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003093/11.02, allocations: 1.385 MB / 4.373 GB, free: 20.05 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/11.02, allocations: 16 kB / 4.373 GB, free: 20.03 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.104e-05/11.02, allocations: 36 kB / 4.373 GB, free: 20 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006532/11.02, allocations: 498.3 kB / 4.374 GB, free: 19.51 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007838/11.02, allocations: 0.6922 MB / 4.374 GB, free: 18.74 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/11.02, allocations: 4 kB / 4.374 GB, free: 18.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.126e-05/11.02, allocations: 4 kB / 4.374 GB, free: 18.73 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/11.02, allocations: 16 kB / 4.374 GB, free: 18.71 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.002889/11.02, allocations: 4.089 MB / 4.378 GB, free: 14.37 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000489/11.02, allocations: 454.3 kB / 4.379 GB, free: 13.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003118/11.02, allocations: 335.2 kB / 4.379 GB, free: 13.58 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002712/11.02, allocations: 198.1 kB / 4.379 GB, free: 13.35 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003155/11.02, allocations: 282.9 kB / 4.38 GB, free: 13.05 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002241/11.02, allocations: 11.84 kB / 4.38 GB, free: 13.04 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 1.893e-06/11.02, allocations: 0 / 4.38 GB, free: 13.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.001519/11.03, allocations: 0.7992 MB / 4.38 GB, free: 12.23 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/11.03, allocations: 81.11 kB / 4.38 GB, free: 12.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008122/11.03, allocations: 0.8519 MB / 4.381 GB, free: 11.27 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/11.03, allocations: 25.7 kB / 4.381 GB, free: 11.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003015/11.03, allocations: 492.2 kB / 4.382 GB, free: 10.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.928e-05/11.03, allocations: 110.4 kB / 4.382 GB, free: 10.64 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/11.03, allocations: 0 / 4.382 GB, free: 10.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.863e-05/11.03, allocations: 326 kB / 4.382 GB, free: 10.31 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/11.03, allocations: 197 kB / 4.382 GB, free: 10.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003772/11.03, allocations: 0.5056 MB / 4.383 GB, free: 9.469 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/11.03, allocations: 302.2 kB / 4.383 GB, free: 9.176 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/11.03, allocations: 0 / 4.383 GB, free: 9.176 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001313/11.03, allocations: 0.9357 MB / 4.384 GB, free: 8.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004036/11.03, allocations: 2.123 MB / 4.386 GB, free: 5.941 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/11.03, allocations: 11.94 kB / 4.386 GB, free: 5.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004402/11.03, allocations: 244.5 kB / 4.386 GB, free: 5.688 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/11.03, allocations: 68.77 kB / 4.386 GB, free: 5.621 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008953/11.03, allocations: 1.156 MB / 4.388 GB, free: 4.441 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008826/11.03, allocations: 79.81 kB / 4.388 GB, free: 4.363 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.656e-05/11.03, allocations: 24 kB / 4.388 GB, free: 4.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.955e-06/11.03, allocations: 4 kB / 4.388 GB, free: 4.336 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009369/11.03, allocations: 0.6367 MB / 4.388 GB, free: 3.695 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/11.03, allocations: 8 kB / 4.388 GB, free: 3.688 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005065/11.03, allocations: 224.9 kB / 4.388 GB, free: 3.465 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/11.03, allocations: 71.83 kB / 4.389 GB, free: 3.395 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002708/11.04, allocations: 2.886 MB / 4.391 GB, free: 400 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008326/11.04, allocations: 75.81 kB / 4.391 GB, free: 324 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/11.04, allocations: 24 kB / 4.391 GB, free: 300 kB / 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.0001411/11.04, allocations: 128.3 kB / 4.392 GB, free: 168 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/11.04, allocations: 98.78 kB / 4.392 GB, free: 68 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4406/11.48, allocations: 0.6985 MB / 4.392 GB, free: 193.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/11.48, allocations: 7.25 kB / 4.392 GB, free: 193.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/11.48, allocations: 4.281 kB / 4.392 GB, free: 193.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/11.48, allocations: 1.922 kB / 4.392 GB, free: 193.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003045/11.48, allocations: 1.585 MB / 4.394 GB, free: 193 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/11.48, allocations: 1.594 kB / 4.394 GB, free: 193 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/11.48, allocations: 32.48 kB / 4.394 GB, free: 193 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004284/11.48, allocations: 204.9 kB / 4.394 GB, free: 193 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/11.48, allocations: 5.016 kB / 4.394 GB, free: 193 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009741/11.48, allocations: 1.01 MB / 4.395 GB, free: 192.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/11.48, allocations: 3.109 kB / 4.395 GB, free: 192.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/11.48, allocations: 0.9195 MB / 4.396 GB, free: 192.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004418/11.49, allocations: 219.2 kB / 4.396 GB, free: 192 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/11.49, allocations: 7.328 kB / 4.396 GB, free: 192 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000649/11.49, allocations: 65.22 kB / 4.396 GB, free: 192 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/11.49, allocations: 37 kB / 4.396 GB, free: 192 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/11.49, allocations: 14.02 kB / 4.396 GB, free: 192 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00104/11.49, allocations: 0.6602 MB / 4.397 GB, free: 191.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.22e-07/11.49, allocations: 0 / 4.397 GB, free: 191.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001862/11.49, allocations: 0.512 MB / 4.398 GB, free: 191.9 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.001665/11.49, allocations: 1.03 MB / 4.399 GB, free: 191.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001549/11.49, allocations: 1.047 MB / 4.4 GB, free: 191.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/11.49, allocations: 0 / 4.4 GB, free: 191.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003419/11.49, allocations: 217.3 kB / 4.4 GB, free: 191.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002766/11.5, allocations: 0.5317 MB / 4.4 GB, free: 191.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/11.5, allocations: 1.345 MB / 4.402 GB, free: 191 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007143/11.5, allocations: 1.208 MB / 4.403 GB, free: 190.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001785/11.5, allocations: 0.667 MB / 4.403 GB, free: 190.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.071e-05/11.5, allocations: 46.25 kB / 4.403 GB, free: 190.3 MB / 0.698 GB Notification: Performance of SimCode: time 9.31e-07/11.5, allocations: 2.156 kB / 4.403 GB, free: 190.3 MB / 0.698 GB Notification: Performance of Templates: time 0.04031/11.54, allocations: 23.44 MB / 4.426 GB, free: 189.8 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)