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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001284/0.001284, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001226/0.001226, allocations: 197 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.102/2.102, allocations: 390.2 MB / 0.6643 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5185/0.5197, allocations: 140.4 MB / 0.949 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.09172/0.6115, allocations: 114.4 MB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02898/0.6405, allocations: 26.68 MB / 1.087 GB, free: 4.543 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003465/0.644, allocations: 107.4 kB / 1.087 GB, free: 4.438 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002408/0.6464, allocations: 0.9245 MB / 1.088 GB, free: 3.508 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00697/0.6534, allocations: 3.165 MB / 1.091 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004599/0.658, allocations: 2.083 MB / 1.093 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007204/0.6652, allocations: 8.159 MB / 1.101 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001842/0.6671, allocations: 1.595 MB / 1.103 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003749/0.6709, allocations: 2.302 MB / 1.105 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002085/0.6729, allocations: 1.769 MB / 1.106 GB, free: 364 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000302/0.6733, allocations: 112 kB / 1.107 GB, free: 252 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004015/0.6773, allocations: 2.14 MB / 1.109 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003783/0.6777, allocations: 445.9 kB / 1.109 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001151/0.6788, allocations: 1.174 MB / 1.11 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004203/0.6831, allocations: 4.004 MB / 1.114 GB, free: 8.469 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.6831, allocations: 0 / 1.114 GB, free: 8.469 MB / 0.8731 GB Notification: Performance of FrontEnd: time 8.92e-07/0.6831, allocations: 0 / 1.114 GB, free: 8.469 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.56e-05/0.6831, allocations: 4 kB / 1.114 GB, free: 8.465 MB / 0.8731 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.004715/0.6878, allocations: 2.834 MB / 1.117 GB, free: 5.57 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.6879, allocations: 12.03 kB / 1.117 GB, free: 5.559 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002092/0.6881, allocations: 194.6 kB / 1.117 GB, free: 5.359 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000576/0.6887, allocations: 261 kB / 1.117 GB, free: 5.102 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003405/0.6921, allocations: 2.091 MB / 1.119 GB, free: 2.957 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.593e-05/0.6922, allocations: 106.6 kB / 1.12 GB, free: 2.852 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/0.6923, allocations: 136 kB / 1.12 GB, free: 2.719 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/0.6945, allocations: 1.458 MB / 1.121 GB, free: 1.184 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.6945, allocations: 4 kB / 1.121 GB, free: 1.18 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.6946, allocations: 56 kB / 1.121 GB, free: 1.125 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.954e-05/0.6947, allocations: 39.94 kB / 1.121 GB, free: 1.086 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.6964, allocations: 1.021 MB / 1.122 GB, free: 60 kB / 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.007211/0.7036, allocations: 8.128 MB / 1.13 GB, free: 7.234 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.7049, allocations: 0.8367 MB / 1.131 GB, free: 6.367 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005364/0.7055, allocations: 377.4 kB / 1.131 GB, free: 6 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001738/0.7072, allocations: 2.803 MB / 1.134 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.7073, allocations: 43.22 kB / 1.134 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=85): time 2.395e-06/0.7073, allocations: 0 / 1.134 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of matching and sorting (n=85): time 0.002019/0.7093, allocations: 1.132 MB / 1.135 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.7093, allocations: 67.98 kB / 1.135 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/0.7111, allocations: 1.602 MB / 1.137 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.059e-05/0.7112, allocations: 41.7 kB / 1.137 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005931/0.7118, allocations: 0.9276 MB / 1.138 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002128/0.712, allocations: 303.6 kB / 1.138 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000275/0.7123, allocations: 243.4 kB / 1.138 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.7124, allocations: 341.9 kB / 1.139 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005306/0.7129, allocations: 329.9 kB / 1.139 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007733/0.7137, allocations: 0.7072 MB / 1.14 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/0.7151, allocations: 1.081 MB / 1.141 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.7151, allocations: 11.94 kB / 1.141 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001912/0.717, allocations: 1.245 MB / 1.142 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.717, allocations: 9.719 kB / 1.142 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.707e-05/0.7171, allocations: 19.98 kB / 1.142 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.7171, allocations: 16 kB / 1.142 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007715/0.7179, allocations: 264 kB / 1.142 GB, free: 9.777 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.135e-05/0.7179, allocations: 31.86 kB / 1.142 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.719, allocations: 186.6 kB / 1.142 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.424e-05/0.7191, allocations: 63.97 kB / 1.142 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009128/0.72, allocations: 0.6236 MB / 1.143 GB, free: 8.875 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007518/0.7207, allocations: 0.7033 MB / 1.144 GB, free: 7.992 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001368/0.7221, allocations: 1.077 MB / 1.145 GB, free: 6.754 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.46e-06/0.7221, allocations: 4 kB / 1.145 GB, free: 6.75 MB / 0.9044 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.001879/0.724, allocations: 1.249 MB / 1.146 GB, free: 5.496 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.724, allocations: 12 kB / 1.146 GB, free: 5.484 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.316e-05/0.7241, allocations: 15.98 kB / 1.146 GB, free: 5.469 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.7241, allocations: 20 kB / 1.146 GB, free: 5.449 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000738/0.7248, allocations: 255.6 kB / 1.146 GB, free: 5.199 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.968e-05/0.7249, allocations: 31.75 kB / 1.146 GB, free: 5.168 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009553/0.7258, allocations: 147.3 kB / 1.146 GB, free: 5.023 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.889e-05/0.7259, allocations: 59.98 kB / 1.147 GB, free: 4.965 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000192/0.7261, allocations: 251.9 kB / 1.147 GB, free: 4.711 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000264/0.7264, allocations: 189.7 kB / 1.147 GB, free: 4.523 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002689/0.7291, allocations: 1.755 MB / 1.149 GB, free: 2.758 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.241e-05/0.7291, allocations: 31.91 kB / 1.149 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.7291, allocations: 0 / 1.149 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001552/0.7307, allocations: 1.146 MB / 1.15 GB, free: 1.551 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004428/0.7351, allocations: 3.466 MB / 1.153 GB, free: 13.92 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.191e-05/0.7352, allocations: 12.8 kB / 1.153 GB, free: 13.91 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006619/0.7358, allocations: 199.7 kB / 1.153 GB, free: 13.71 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.689e-06/0.7358, allocations: 12 kB / 1.153 GB, free: 13.7 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.83e-05/0.7359, allocations: 47.97 kB / 1.153 GB, free: 13.65 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.118e-05/0.7359, allocations: 12 kB / 1.153 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/0.736, allocations: 19.81 kB / 1.153 GB, free: 13.62 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002796/0.7388, allocations: 2.234 MB / 1.156 GB, free: 11.29 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005196/0.7393, allocations: 430.1 kB / 1.156 GB, free: 10.84 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/0.7395, allocations: 35.98 kB / 1.156 GB, free: 10.81 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008883/0.7404, allocations: 91.86 kB / 1.156 GB, free: 10.72 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/0.7406, allocations: 120.7 kB / 1.156 GB, free: 10.6 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.928e-05/0.7407, allocations: 59.97 kB / 1.156 GB, free: 10.54 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001282/0.742, allocations: 1.079 MB / 1.157 GB, free: 9.441 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.3e-07/0.742, allocations: 0 / 1.157 GB, free: 9.441 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002377/0.7444, allocations: 1.131 MB / 1.159 GB, free: 8.309 MB / 0.92 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004359/0.7487, allocations: 3.457 MB / 1.162 GB, free: 4.75 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002662/0.7514, allocations: 1.797 MB / 1.164 GB, free: 2.906 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.7514, allocations: 8.062 kB / 1.164 GB, free: 2.898 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001102/0.7525, allocations: 0.8183 MB / 1.164 GB, free: 2.062 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003494/0.756, allocations: 0.9229 MB / 1.165 GB, free: 1.148 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0189/0.7749, allocations: 14.48 MB / 1.18 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000807/0.7758, allocations: 1.44 MB / 1.181 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001649/0.7774, allocations: 0.5393 MB / 1.181 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008852/0.7783, allocations: 0.8467 MB / 1.182 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of SimCode: time 3.1e-07/0.7783, allocations: 0 / 1.182 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.475/2.253, allocations: 56.3 MB / 1.237 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/2.254, allocations: 240.8 kB / 1.237 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.383/5.637, allocations: 0 / 1.237 GB, free: 6.672 MB / 0.9981 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/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)