Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_9_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.0009664/0.0009663, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.00113/0.00113, allocations: 168.7 kB / 15.95 MB, free: 204 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.437/1.437, allocations: 223.3 MB / 240 MB, free: 5.414 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.396/2.396, allocations: 390.4 MB / 0.6655 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003527, allocations: 11.94 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7836/0.7839, allocations: 142.3 MB / 0.9539 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1128/0.8968, allocations: 106.4 MB / 1.058 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0376/0.9344, allocations: 24.9 MB / 1.082 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004844/0.9393, allocations: 99.38 kB / 1.082 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002933/0.9423, allocations: 0.7878 MB / 1.083 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.009244/0.9516, allocations: 2.735 MB / 1.086 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005557/0.9571, allocations: 1.662 MB / 1.087 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01041/0.9675, allocations: 7.019 MB / 1.094 GB, free: 228 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00285/0.9704, allocations: 1.422 MB / 1.095 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006446/0.9769, allocations: 2.112 MB / 1.098 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003877/0.9808, allocations: 1.622 MB / 1.099 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000479/0.9813, allocations: 92 kB / 1.099 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005156/0.9865, allocations: 1.559 MB / 1.101 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005601/0.987, allocations: 398.1 kB / 1.101 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001206/0.9883, allocations: 488.5 kB / 1.102 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004786/0.9931, allocations: 2.864 MB / 1.104 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.9931, allocations: 0 / 1.104 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.764e-06/0.9931, allocations: 0 / 1.104 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.955e-05/0.9931, allocations: 0 / 1.104 GB, free: 5.621 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: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.005175/0.9983, allocations: 2.445 MB / 1.107 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.9984, allocations: 16.03 kB / 1.107 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000306/0.9987, allocations: 198.5 kB / 1.107 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000592/0.9993, allocations: 265 kB / 1.107 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004205/1.004, allocations: 2.03 MB / 1.109 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.868e-05/1.004, allocations: 98.67 kB / 1.109 GB, free: 468 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002206/1.004, allocations: 136 kB / 1.109 GB, free: 332 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00243/1.006, allocations: 1.45 MB / 1.111 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.84e-05/1.006, allocations: 8 kB / 1.111 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/1.006, allocations: 52 kB / 1.111 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.651e-05/1.007, allocations: 39.94 kB / 1.111 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/1.008, allocations: 1.029 MB / 1.112 GB, free: 13.66 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.009442/1.018, allocations: 8.14 MB / 1.12 GB, free: 4.824 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/1.019, allocations: 0.834 MB / 1.121 GB, free: 3.969 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006584/1.02, allocations: 381.4 kB / 1.121 GB, free: 3.598 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002755/1.023, allocations: 2.803 MB / 1.124 GB, free: 168 kB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.27e-05/1.023, allocations: 51.16 kB / 1.124 GB, free: 108 kB / 0.8731 GB Notification: Performance of pre-optimization done (n=85): time 3.366e-06/1.023, allocations: 0 / 1.124 GB, free: 108 kB / 0.8731 GB Notification: Performance of matching and sorting (n=85): time 0.002594/1.026, allocations: 1.136 MB / 1.125 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.849e-05/1.026, allocations: 64.06 kB / 1.125 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002396/1.028, allocations: 1.586 MB / 1.127 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.056e-05/1.028, allocations: 41.7 kB / 1.127 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007987/1.029, allocations: 0.9245 MB / 1.127 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003181/1.029, allocations: 311.5 kB / 1.128 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.495e-05/1.029, allocations: 24 kB / 1.128 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001604/1.029, allocations: 345.9 kB / 1.128 GB, free: 11.6 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005754/1.03, allocations: 318.5 kB / 1.128 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008662/1.031, allocations: 0.7072 MB / 1.129 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007627/1.032, allocations: 442.7 kB / 1.13 GB, free: 9.973 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/1.032, allocations: 3.938 kB / 1.13 GB, free: 9.969 MB / 0.8887 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002111/1.034, allocations: 1.246 MB / 1.131 GB, free: 8.719 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003023/1.034, allocations: 446.5 kB / 1.131 GB, free: 8.121 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.422e-05/1.034, allocations: 15.98 kB / 1.131 GB, free: 8.105 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.72e-05/1.034, allocations: 20 kB / 1.131 GB, free: 8.086 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008359/1.035, allocations: 263.6 kB / 1.131 GB, free: 7.828 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-05/1.035, allocations: 19.94 kB / 1.132 GB, free: 7.809 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/1.036, allocations: 190.6 kB / 1.132 GB, free: 7.621 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/1.037, allocations: 67.91 kB / 1.132 GB, free: 7.555 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.278e-06/1.037, allocations: 4 kB / 1.132 GB, free: 7.551 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001799/1.038, allocations: 1.054 MB / 1.133 GB, free: 6.496 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.947e-05/1.038, allocations: 19.98 kB / 1.133 GB, free: 6.477 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/1.039, allocations: 16 kB / 1.133 GB, free: 6.461 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008121/1.039, allocations: 263.5 kB / 1.133 GB, free: 6.203 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.18e-05/1.039, allocations: 23.94 kB / 1.133 GB, free: 6.18 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/1.041, allocations: 171.1 kB / 1.133 GB, free: 6.012 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/1.041, allocations: 63.97 kB / 1.133 GB, free: 5.949 MB / 0.8887 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.0008842/1.042, allocations: 480.7 kB / 1.134 GB, free: 5.469 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002779/1.042, allocations: 189.7 kB / 1.134 GB, free: 5.281 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003044/1.045, allocations: 1.755 MB / 1.136 GB, free: 3.523 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-05/1.045, allocations: 19.98 kB / 1.136 GB, free: 3.504 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/1.045, allocations: 0 / 1.136 GB, free: 3.504 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001733/1.047, allocations: 1.15 MB / 1.137 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005605/1.052, allocations: 3.475 MB / 1.14 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-05/1.052, allocations: 15.98 kB / 1.14 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007169/1.053, allocations: 199.7 kB / 1.14 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.929e-05/1.053, allocations: 12 kB / 1.14 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.842e-05/1.053, allocations: 43.97 kB / 1.14 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-05/1.053, allocations: 15.94 kB / 1.14 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/1.053, allocations: 8 kB / 1.14 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003204/1.056, allocations: 2.238 MB / 1.143 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008694/1.057, allocations: 481.9 kB / 1.143 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002293/1.058, allocations: 31.98 kB / 1.143 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009186/1.058, allocations: 103.8 kB / 1.143 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/1.059, allocations: 116.8 kB / 1.143 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/1.059, allocations: 55.97 kB / 1.143 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001653/1.06, allocations: 1.064 MB / 1.144 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.51e-07/1.06, allocations: 0 / 1.144 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00307/1.064, allocations: 1.119 MB / 1.146 GB, free: 9.051 MB / 0.9044 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.004736/1.068, allocations: 3.433 MB / 1.149 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002978/1.071, allocations: 1.795 MB / 1.151 GB, free: 3.68 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/1.071, allocations: 5.875 kB / 1.151 GB, free: 3.676 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001352/1.073, allocations: 0.8295 MB / 1.151 GB, free: 2.828 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004838/1.078, allocations: 0.925 MB / 1.152 GB, free: 1.914 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02164/1.099, allocations: 11.46 MB / 1.164 GB, free: 5.465 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/1.1, allocations: 1.44 MB / 1.165 GB, free: 3.992 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002226/1.102, allocations: 0.5457 MB / 1.166 GB, free: 3.445 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001091/1.104, allocations: 0.8468 MB / 1.166 GB, free: 2.598 MB / 0.92 GB Notification: Performance of SimCode: time 7.32e-07/1.104, allocations: 0 / 1.166 GB, free: 2.598 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09381/1.197, allocations: 58.66 MB / 1.224 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002918/1.198, allocations: 234.9 kB / 1.224 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.632/4.83, allocations: 4.062 kB / 1.224 GB, free: 8.363 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe_res.mat does not exist to compare? outputFormat=mat