Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007705/0.0007706, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.0008062/0.0008063, allocations: 172.7 kB / 15.95 MB, free: 208 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.318/1.318, allocations: 223.2 MB / 240 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.393/2.393, allocations: 390.4 MB / 0.6655 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003505, allocations: 12 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6189/0.6193, allocations: 142.3 MB / 0.9538 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.1498/0.7691, allocations: 146.7 MB / 1.097 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002671/0.7718, allocations: 1.656 MB / 1.099 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002955/0.7722, allocations: 11.94 kB / 1.099 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004342/0.7726, allocations: 115.2 kB / 1.099 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.7736, allocations: 390.1 kB / 1.099 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009253/0.7746, allocations: 330.2 kB / 1.1 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002852/0.7774, allocations: 3.01 MB / 1.103 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002582/0.78, allocations: 2.145 MB / 1.105 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.7815, allocations: 0.8597 MB / 1.105 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.7825, allocations: 0.704 MB / 1.106 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.7827, allocations: 39.94 kB / 1.106 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.7838, allocations: 0.5536 MB / 1.107 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002833/0.7841, allocations: 278.9 kB / 1.107 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002727/0.7844, allocations: 233.1 kB / 1.107 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.7854, allocations: 1.037 MB / 1.108 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.7854, allocations: 0 / 1.108 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.062e-06/0.7854, allocations: 4 kB / 1.108 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.7854, allocations: 4 kB / 1.108 GB, free: 1.633 MB / 0.8575 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.001859/0.7873, allocations: 1.33 MB / 1.11 GB, free: 248 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.7874, allocations: 8.031 kB / 1.11 GB, free: 240 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001001/0.7875, allocations: 94.52 kB / 1.11 GB, free: 136 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000691/0.7882, allocations: 186.6 kB / 1.11 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.7894, allocations: 0.8039 MB / 1.111 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.556e-05/0.7894, allocations: 41 kB / 1.111 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.534e-05/0.7895, allocations: 64 kB / 1.111 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.7906, allocations: 0.8278 MB / 1.111 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.7907, allocations: 4 kB / 1.111 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.627e-05/0.7907, allocations: 20 kB / 1.112 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.7907, allocations: 16 kB / 1.112 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000893/0.7916, allocations: 0.5735 MB / 1.112 GB, free: 13.46 MB / 0.8731 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.003413/0.7951, allocations: 4.258 MB / 1.116 GB, free: 8.941 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006958/0.7958, allocations: 455.3 kB / 1.117 GB, free: 8.488 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004618/0.7962, allocations: 350.8 kB / 1.117 GB, free: 8.145 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002625/0.7965, allocations: 198.2 kB / 1.117 GB, free: 7.914 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004889/0.797, allocations: 323.1 kB / 1.118 GB, free: 7.578 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001693/0.7972, allocations: 35.59 kB / 1.118 GB, free: 7.543 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 1.944e-06/0.7972, allocations: 0 / 1.118 GB, free: 7.543 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.004441/0.8017, allocations: 1.586 MB / 1.119 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.8017, allocations: 81.11 kB / 1.119 GB, free: 5.828 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.803, allocations: 1.143 MB / 1.12 GB, free: 4.668 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.684e-05/0.8031, allocations: 37.69 kB / 1.12 GB, free: 4.625 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003763/0.8035, allocations: 496.3 kB / 1.121 GB, free: 4.137 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.037e-05/0.8036, allocations: 122.4 kB / 1.121 GB, free: 4.016 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.533e-05/0.8036, allocations: 8 kB / 1.121 GB, free: 4.008 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.749e-05/0.8037, allocations: 330 kB / 1.121 GB, free: 3.68 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.8041, allocations: 201 kB / 1.121 GB, free: 3.484 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005603/0.8046, allocations: 0.5189 MB / 1.122 GB, free: 2.832 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004389/0.8051, allocations: 315.6 kB / 1.122 GB, free: 2.52 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.8051, allocations: 0 / 1.122 GB, free: 2.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002154/0.8073, allocations: 1.057 MB / 1.123 GB, free: 1.445 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001598/0.8074, allocations: 270.8 kB / 1.124 GB, free: 1.098 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.8075, allocations: 8 kB / 1.124 GB, free: 1.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/0.8088, allocations: 411.9 kB / 1.124 GB, free: 0.6875 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003415/0.8092, allocations: 95.92 kB / 1.124 GB, free: 0.5938 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.8105, allocations: 1.111 MB / 1.125 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007775/0.8113, allocations: 87.75 kB / 1.125 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.912e-05/0.8113, allocations: 31.95 kB / 1.125 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 8.696e-06/0.8114, allocations: 5.406 kB / 1.125 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00136/0.8127, allocations: 0.7905 MB / 1.126 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.8127, allocations: 4 kB / 1.126 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005428/0.8133, allocations: 243.8 kB / 1.126 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/0.8136, allocations: 99.86 kB / 1.126 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00361/0.8172, allocations: 3.07 MB / 1.129 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000893/0.8182, allocations: 91.75 kB / 1.129 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-05/0.8182, allocations: 24 kB / 1.129 GB, free: 10.88 MB / 0.8887 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 () * Number of clocked 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 {10 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005808/0.8188, allocations: 476.6 kB / 1.13 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.8189, allocations: 102.7 kB / 1.13 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.8203, allocations: 0.7928 MB / 1.131 GB, free: 9.5 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.8203, allocations: 4 kB / 1.131 GB, free: 9.496 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.8203, allocations: 0 / 1.131 GB, free: 9.496 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.8203, allocations: 4 kB / 1.131 GB, free: 9.492 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002321/0.8226, allocations: 1.734 MB / 1.132 GB, free: 7.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.8227, allocations: 8.219 kB / 1.132 GB, free: 7.672 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.8229, allocations: 55.95 kB / 1.133 GB, free: 7.617 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005044/0.8234, allocations: 266.8 kB / 1.133 GB, free: 7.355 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.8234, allocations: 8 kB / 1.133 GB, free: 7.348 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009781/0.8244, allocations: 1.042 MB / 1.134 GB, free: 6.281 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.8244, allocations: 0 / 1.134 GB, free: 6.281 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.8257, allocations: 0.9052 MB / 1.135 GB, free: 5.336 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003075/0.826, allocations: 231.7 kB / 1.135 GB, free: 5.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.8261, allocations: 8 kB / 1.135 GB, free: 5.082 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005701/0.8267, allocations: 63.86 kB / 1.135 GB, free: 5.02 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.823e-05/0.8268, allocations: 35.84 kB / 1.135 GB, free: 4.984 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.8268, allocations: 12 kB / 1.135 GB, free: 4.973 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0009423/0.8277, allocations: 0.808 MB / 1.136 GB, free: 4.156 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8277, allocations: 0 / 1.136 GB, free: 4.156 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001203/0.829, allocations: 487.4 kB / 1.136 GB, free: 3.68 MB / 0.8887 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) * Number of clocked states: 0 () * 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 {10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001567/0.8305, allocations: 1.43 MB / 1.138 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002309/0.8328, allocations: 1.265 MB / 1.139 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.8329, allocations: 0 / 1.139 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006135/0.8335, allocations: 309.2 kB / 1.139 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002712/0.8362, allocations: 0.618 MB / 1.14 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.012/0.8482, allocations: 6.93 MB / 1.147 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006869/0.8489, allocations: 1.181 MB / 1.148 GB, free: 7.539 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0009766/0.8499, allocations: 348.1 kB / 1.148 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003988/0.8503, allocations: 323.3 kB / 1.148 GB, free: 6.879 MB / 0.9044 GB Notification: Performance of SimCode: time 4.61e-07/0.8503, allocations: 0 / 1.148 GB, free: 6.879 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0531/0.9034, allocations: 30.4 MB / 1.178 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002104/0.9037, allocations: 278.3 kB / 1.178 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.255/3.159, allocations: 7.062 kB / 1.178 GB, free: 8.527 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow_res.mat does not exist to compare? outputFormat=mat