Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",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.0008833/0.0008833, allocations: 91.69 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.0009217/0.0009216, 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.457/1.457, allocations: 223.3 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.804/2.804, allocations: 409.4 MB / 0.684 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004201/0.0004205, allocations: 12 kB / 0.8378 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7914/0.7919, allocations: 146.8 MB / 0.9811 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.101/0.8929, allocations: 106.4 MB / 1.085 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03543/0.9284, allocations: 24.9 MB / 1.109 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004859/0.9333, allocations: 99.38 kB / 1.109 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00343/0.9367, allocations: 0.7839 MB / 1.11 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.009243/0.946, allocations: 2.739 MB / 1.113 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006474/0.9525, allocations: 1.678 MB / 1.115 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01258/0.9651, allocations: 7.001 MB / 1.121 GB, free: 6.301 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004035/0.9692, allocations: 1.414 MB / 1.123 GB, free: 4.863 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006831/0.976, allocations: 2.127 MB / 1.125 GB, free: 2.727 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004079/0.9801, allocations: 1.614 MB / 1.126 GB, free: 1.105 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0009617/0.9811, allocations: 96 kB / 1.126 GB, free: 1.012 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006361/0.9875, allocations: 1.571 MB / 1.128 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001079/0.9886, allocations: 386.1 kB / 1.128 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001608/0.9903, allocations: 488.5 kB / 1.129 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005982/0.9963, allocations: 2.864 MB / 1.132 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.9963, allocations: 0 / 1.132 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.444e-06/0.9963, allocations: 0 / 1.132 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001382/0.9964, allocations: 0 / 1.132 GB, free: 11.7 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.007212/1.004, allocations: 2.445 MB / 1.134 GB, free: 9.199 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/1.004, allocations: 8.031 kB / 1.134 GB, free: 9.191 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006851/1.004, allocations: 198.5 kB / 1.134 GB, free: 8.988 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/1.005, allocations: 264.9 kB / 1.134 GB, free: 8.727 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005697/1.011, allocations: 2.024 MB / 1.136 GB, free: 6.652 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/1.011, allocations: 102.7 kB / 1.137 GB, free: 6.551 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003543/1.012, allocations: 143.9 kB / 1.137 GB, free: 6.41 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003264/1.015, allocations: 1.446 MB / 1.138 GB, free: 4.887 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.231e-05/1.015, allocations: 4 kB / 1.138 GB, free: 4.883 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/1.015, allocations: 56 kB / 1.138 GB, free: 4.828 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.098e-05/1.015, allocations: 39.98 kB / 1.138 GB, free: 4.789 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002298/1.018, allocations: 1.029 MB / 1.139 GB, free: 3.754 MB / 0.8887 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.0122/1.03, allocations: 8.128 MB / 1.147 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/1.032, allocations: 0.8406 MB / 1.148 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008523/1.032, allocations: 379.8 kB / 1.148 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002442/1.035, allocations: 2.814 MB / 1.151 GB, free: 6.242 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/1.035, allocations: 39.22 kB / 1.151 GB, free: 6.195 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=85): time 3.757e-06/1.035, allocations: 0.7656 kB / 1.151 GB, free: 6.195 MB / 0.9044 GB Notification: Performance of matching and sorting (n=85): time 0.002723/1.038, allocations: 1.136 MB / 1.152 GB, free: 5.055 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/1.038, allocations: 60.06 kB / 1.152 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002987/1.041, allocations: 1.59 MB / 1.154 GB, free: 3.352 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/1.041, allocations: 41.7 kB / 1.154 GB, free: 3.305 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008706/1.042, allocations: 0.9315 MB / 1.155 GB, free: 2.363 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003807/1.042, allocations: 307.6 kB / 1.155 GB, free: 2.059 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.746e-05/1.042, allocations: 23.94 kB / 1.155 GB, free: 2.035 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001565/1.042, allocations: 349.9 kB / 1.155 GB, free: 1.688 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006601/1.043, allocations: 318.4 kB / 1.156 GB, free: 1.375 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009913/1.044, allocations: 0.7033 MB / 1.156 GB, free: 0.5 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008408/1.045, allocations: 446.7 kB / 1.157 GB, free: 64 kB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/1.045, allocations: 4 kB / 1.157 GB, free: 60 kB / 0.9044 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002474/1.047, allocations: 1.249 MB / 1.158 GB, free: 14.8 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003368/1.048, allocations: 437.1 kB / 1.158 GB, free: 14.21 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.003e-05/1.048, allocations: 19.92 kB / 1.158 GB, free: 14.19 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.604e-05/1.048, allocations: 20 kB / 1.159 GB, free: 14.17 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008657/1.049, allocations: 259.6 kB / 1.159 GB, free: 13.92 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.418e-05/1.049, allocations: 27.92 kB / 1.159 GB, free: 13.89 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/1.05, allocations: 182.6 kB / 1.159 GB, free: 13.71 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/1.05, allocations: 71.97 kB / 1.159 GB, free: 13.64 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.035e-06/1.05, allocations: 0 / 1.159 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001895/1.052, allocations: 1.05 MB / 1.16 GB, free: 12.59 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.311e-05/1.052, allocations: 20 kB / 1.16 GB, free: 12.57 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/1.052, allocations: 24.61 kB / 1.16 GB, free: 12.55 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008233/1.053, allocations: 263.5 kB / 1.16 GB, free: 12.29 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.044e-05/1.053, allocations: 31.92 kB / 1.16 GB, free: 12.26 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/1.055, allocations: 158.9 kB / 1.161 GB, free: 12.11 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001647/1.055, allocations: 67.97 kB / 1.161 GB, free: 12.04 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0009167/1.056, allocations: 472.7 kB / 1.161 GB, free: 11.57 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005061/1.056, allocations: 189.7 kB / 1.161 GB, free: 11.38 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003449/1.06, allocations: 1.758 MB / 1.163 GB, free: 9.609 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.588e-05/1.06, allocations: 15.98 kB / 1.163 GB, free: 9.594 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/1.06, allocations: 0 / 1.163 GB, free: 9.594 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001793/1.062, allocations: 1.15 MB / 1.164 GB, free: 8.41 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006629/1.068, allocations: 3.474 MB / 1.167 GB, free: 4.777 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.158e-05/1.068, allocations: 12 kB / 1.167 GB, free: 4.766 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007778/1.069, allocations: 212.4 kB / 1.168 GB, free: 4.559 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.389e-05/1.069, allocations: 12 kB / 1.168 GB, free: 4.547 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.48e-05/1.069, allocations: 39.98 kB / 1.168 GB, free: 4.508 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.429e-05/1.069, allocations: 11.94 kB / 1.168 GB, free: 4.496 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.124e-05/1.069, allocations: 15.92 kB / 1.168 GB, free: 4.48 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003943/1.073, allocations: 2.234 MB / 1.17 GB, free: 2.141 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/1.075, allocations: 482 kB / 1.17 GB, free: 1.648 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005086/1.075, allocations: 31.94 kB / 1.17 GB, free: 1.617 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/1.076, allocations: 99.83 kB / 1.171 GB, free: 1.52 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002226/1.077, allocations: 116.7 kB / 1.171 GB, free: 1.406 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/1.077, allocations: 59.97 kB / 1.171 GB, free: 1.348 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002201/1.079, allocations: 1.064 MB / 1.172 GB, free: 268 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/1.079, allocations: 0 / 1.172 GB, free: 268 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.004215/1.083, allocations: 1.115 MB / 1.173 GB, free: 15.14 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * 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 Backend phase and start with SimCode phase: time 0.006044/1.089, allocations: 3.441 MB / 1.176 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003393/1.093, allocations: 1.797 MB / 1.178 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/1.093, allocations: 8.188 kB / 1.178 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001437/1.094, allocations: 0.8221 MB / 1.179 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006099/1.1, allocations: 0.9303 MB / 1.18 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02716/1.128, allocations: 11.47 MB / 1.191 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001556/1.129, allocations: 1.432 MB / 1.192 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002602/1.132, allocations: 0.5462 MB / 1.193 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001414/1.133, allocations: 0.8546 MB / 1.194 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of SimCode: time 1.272e-06/1.133, allocations: 0 / 1.194 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7081/1.841, allocations: 58.65 MB / 1.251 GB, free: 250.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/1.842, allocations: 237 kB / 1.251 GB, free: 249.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.813/5.655, allocations: 0 / 1.251 GB, free: 249.9 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe_res.mat does not exist to compare? outputFormat=mat