Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.conf.json 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/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 99.39 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.619/2.619, allocations: 436.5 MB / 0.7104 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003494, allocations: 15.98 kB / 0.8708 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6201/0.6204, allocations: 153.7 MB / 1.021 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp): time 0.1523/0.7728, allocations: 135.7 MB / 1.153 GB, free: 9.09 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0048/0.7776, allocations: 3.124 MB / 1.156 GB, free: 5.965 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005147/0.7782, allocations: 7.938 kB / 1.156 GB, free: 5.957 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008378/0.7791, allocations: 179.2 kB / 1.157 GB, free: 5.781 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001955/0.781, allocations: 0.5101 MB / 1.157 GB, free: 5.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.7824, allocations: 442.2 kB / 1.157 GB, free: 4.844 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002292/0.7847, allocations: 1.522 MB / 1.159 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003016/0.7878, allocations: 2.192 MB / 1.161 GB, free: 1.113 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001521/0.7893, allocations: 0.6968 MB / 1.162 GB, free: 424 kB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009179/0.7902, allocations: 497.8 kB / 1.162 GB, free: 15.93 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001712/0.7904, allocations: 36 kB / 1.162 GB, free: 15.89 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.7916, allocations: 411.4 kB / 1.163 GB, free: 15.49 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003383/0.7919, allocations: 259.1 kB / 1.163 GB, free: 15.23 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000417/0.7923, allocations: 229.1 kB / 1.163 GB, free: 15 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.7935, allocations: 0.9859 MB / 1.164 GB, free: 14.02 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.7935, allocations: 0 / 1.164 GB, free: 14.02 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.053e-06/0.7936, allocations: 0 / 1.164 GB, free: 14.02 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.262e-05/0.7936, allocations: 0 / 1.164 GB, free: 14.02 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002472/0.7961, allocations: 1.315 MB / 1.165 GB, free: 12.64 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.7961, allocations: 12.03 kB / 1.165 GB, free: 12.63 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008962/0.797, allocations: 186.4 kB / 1.166 GB, free: 12.45 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00175/0.7988, allocations: 0.808 MB / 1.166 GB, free: 11.58 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.912e-05/0.7989, allocations: 44.94 kB / 1.166 GB, free: 11.54 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.799, allocations: 60 kB / 1.166 GB, free: 11.48 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.8003, allocations: 0.8238 MB / 1.167 GB, free: 10.58 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.8004, allocations: 7.938 kB / 1.167 GB, free: 10.57 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.83e-05/0.8004, allocations: 23.98 kB / 1.167 GB, free: 10.55 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/0.8005, allocations: 16 kB / 1.167 GB, free: 10.53 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.8015, allocations: 0.5657 MB / 1.168 GB, free: 9.965 MB / 0.92 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.005056/0.8066, allocations: 4.251 MB / 1.172 GB, free: 5.449 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008002/0.8074, allocations: 458.2 kB / 1.172 GB, free: 4.992 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.4e-05/0.8075, allocations: 15.98 kB / 1.172 GB, free: 4.977 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006259/0.8081, allocations: 336.5 kB / 1.173 GB, free: 4.625 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003763/0.8085, allocations: 39.53 kB / 1.173 GB, free: 4.586 MB / 0.92 GB Notification: Performance of pre-optimization done (n=33): time 3.526e-06/0.8085, allocations: 0 / 1.173 GB, free: 4.586 MB / 0.92 GB Notification: Performance of matching and sorting (n=33): time 0.001571/0.8101, allocations: 0.7134 MB / 1.174 GB, free: 3.867 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.101e-05/0.8102, allocations: 114.8 kB / 1.174 GB, free: 3.73 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/0.8119, allocations: 1.147 MB / 1.175 GB, free: 2.566 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.373e-05/0.812, allocations: 41.64 kB / 1.175 GB, free: 2.52 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004461/0.8124, allocations: 488.4 kB / 1.175 GB, free: 2.039 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.8125, allocations: 118.4 kB / 1.175 GB, free: 1.922 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.8126, allocations: 12 kB / 1.175 GB, free: 1.91 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.8127, allocations: 322 kB / 1.176 GB, free: 1.59 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003793/0.8131, allocations: 205 kB / 1.176 GB, free: 1.387 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006077/0.8137, allocations: 0.5303 MB / 1.176 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000488/0.8142, allocations: 309.4 kB / 1.177 GB, free: 428 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.8142, allocations: 4 kB / 1.177 GB, free: 424 kB / 0.92 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001315/0.8155, allocations: 0.7252 MB / 1.177 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008687/0.8164, allocations: 2.132 MB / 1.18 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.8164, allocations: 4 kB / 1.18 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.8165, allocations: 12 kB / 1.18 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002252/0.8187, allocations: 399.3 kB / 1.18 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003586/0.8223, allocations: 6.091 MB / 1.186 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.8234, allocations: 91.78 kB / 1.186 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-05/0.8235, allocations: 27.98 kB / 1.186 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.8236, allocations: 4 kB / 1.186 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00105/0.8246, allocations: 0.5881 MB / 1.187 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.8246, allocations: 8 kB / 1.187 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.8246, allocations: 8 kB / 1.187 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006565/0.8253, allocations: 155.8 kB / 1.187 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.8253, allocations: 8 kB / 1.187 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009718/0.8263, allocations: 87.78 kB / 1.187 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.718e-05/0.8264, allocations: 24 kB / 1.187 GB, free: 5.648 MB / 0.9356 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 44 * 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.0006001/0.827, allocations: 476.6 kB / 1.187 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/0.8272, allocations: 98.78 kB / 1.187 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.8282, allocations: 0.5336 MB / 1.188 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.8282, allocations: 4.562 kB / 1.188 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.8283, allocations: 4 kB / 1.188 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.8283, allocations: 0 / 1.188 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/0.8302, allocations: 1.165 MB / 1.189 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.8302, allocations: 0 / 1.189 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007496/0.831, allocations: 163.7 kB / 1.189 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.398e-05/0.831, allocations: 7.953 kB / 1.189 GB, free: 3.117 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.8311, allocations: 11.98 kB / 1.189 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002822/0.8339, allocations: 6.017 MB / 1.195 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.8339, allocations: 4.031 kB / 1.195 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.835, allocations: 0.6936 MB / 1.196 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005542/0.8355, allocations: 227.8 kB / 1.196 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002119/0.8357, allocations: 8 kB / 1.196 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007318/0.8365, allocations: 71.77 kB / 1.196 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.8366, allocations: 43.84 kB / 1.196 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-05/0.8366, allocations: 8 kB / 1.196 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00112/0.8378, allocations: 0.812 MB / 1.197 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8378, allocations: 3.938 kB / 1.197 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001274/0.839, allocations: 431.4 kB / 1.197 GB, free: 10.46 MB / 0.9512 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 21 * 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.0004508/0.8395, allocations: 178.8 kB / 1.197 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003474/0.843, allocations: 1.206 MB / 1.199 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.843, allocations: 4 kB / 1.199 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008851/0.8439, allocations: 332.6 kB / 1.199 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003383/0.8473, allocations: 0.6323 MB / 1.2 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003786/0.8511, allocations: 2.107 MB / 1.202 GB, free: 5.953 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009526/0.8521, allocations: 1.209 MB / 1.203 GB, free: 4.715 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001362/0.8535, allocations: 392.1 kB / 1.203 GB, free: 4.328 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.8537, allocations: 67.44 kB / 1.203 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of SimCode: time 5.91e-07/0.8537, allocations: 0 / 1.203 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of Templates: time 0.03291/0.8866, allocations: 19.47 MB / 1.222 GB, free: 0.9961 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDp.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches