Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.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.Validation.PlugFlowPipes.PlugFlowULg,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg",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.0008256/0.0008258, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005594/0.005594, allocations: 169.8 kB / 16.27 MB, free: 6.332 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.223/1.223, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.226/2.226, allocations: 390.9 MB / 0.6664 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003315, allocations: 12 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6432/0.6436, allocations: 142.4 MB / 0.9552 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.07072/0.7143, allocations: 75.04 MB / 1.028 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02794/0.7423, allocations: 19.87 MB / 1.048 GB, free: 152 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003065/0.7454, allocations: 71.56 kB / 1.048 GB, free: 80 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002952/0.7484, allocations: 0.8002 MB / 1.049 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.007929/0.7563, allocations: 2.622 MB / 1.051 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.005334/0.7617, allocations: 1.914 MB / 1.053 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00866/0.7703, allocations: 6.711 MB / 1.06 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002496/0.7729, allocations: 1.365 MB / 1.061 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003852/0.7767, allocations: 1.765 MB / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002503/0.7792, allocations: 1.423 MB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0004139/0.7797, allocations: 76 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004155/0.7839, allocations: 1.781 MB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000577/0.7844, allocations: 370.2 kB / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001637/0.7861, allocations: 0.9846 MB / 1.067 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.005621/0.7917, allocations: 3.337 MB / 1.071 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.7917, allocations: 0 / 1.071 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7918, allocations: 0 / 1.071 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001027/0.7919, allocations: 0 / 1.071 GB, free: 8.844 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.004739/0.7966, allocations: 2.132 MB / 1.073 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.7967, allocations: 12.03 kB / 1.073 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000369/0.797, allocations: 177.8 kB / 1.073 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002038/0.7991, allocations: 441 kB / 1.073 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003766/0.8029, allocations: 1.781 MB / 1.075 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.794e-05/0.803, allocations: 86.44 kB / 1.075 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002521/0.8032, allocations: 128 kB / 1.075 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002941/0.8062, allocations: 1.452 MB / 1.077 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.141e-05/0.8062, allocations: 0 / 1.077 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.8064, allocations: 48 kB / 1.077 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-05/0.8064, allocations: 36 kB / 1.077 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002554/0.809, allocations: 1.102 MB / 1.078 GB, free: 1.227 MB / 0.8262 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.009242/0.8182, allocations: 7.868 MB / 1.085 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003622/0.8219, allocations: 1.093 MB / 1.086 GB, free: 7.645 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008763/0.8228, allocations: 449.6 kB / 1.087 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001879/0.8247, allocations: 1.86 MB / 1.089 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/0.8258, allocations: 0.5063 MB / 1.089 GB, free: 4.414 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=84): time 3.257e-06/0.8258, allocations: 3.938 kB / 1.089 GB, free: 4.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=84): time 0.002997/0.8288, allocations: 1.304 MB / 1.09 GB, free: 3.102 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/0.8289, allocations: 85.77 kB / 1.091 GB, free: 3 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/0.8311, allocations: 1.383 MB / 1.092 GB, free: 1.609 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 9.155e-05/0.8312, allocations: 45.7 kB / 1.092 GB, free: 1.559 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007695/0.8319, allocations: 0.8217 MB / 1.093 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003369/0.8323, allocations: 295.7 kB / 1.093 GB, free: 444 kB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.8324, allocations: 93.66 kB / 1.093 GB, free: 344 kB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.8326, allocations: 345.9 kB / 1.093 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008835/0.8335, allocations: 378.4 kB / 1.094 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.8346, allocations: 0.6793 MB / 1.094 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00194/0.8365, allocations: 1.083 MB / 1.096 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.8365, allocations: 0 / 1.096 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002697/0.8392, allocations: 1.261 MB / 1.097 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002683/0.8395, allocations: 357.3 kB / 1.097 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.883e-05/0.8396, allocations: 8 kB / 1.097 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.96e-05/0.8396, allocations: 23.92 kB / 1.097 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009591/0.8406, allocations: 255.6 kB / 1.097 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4e-05/0.8406, allocations: 27.86 kB / 1.097 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/0.8423, allocations: 194.7 kB / 1.098 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.8424, allocations: 55.97 kB / 1.098 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.8424, allocations: 4 kB / 1.098 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00231/0.8447, allocations: 1.089 MB / 1.099 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/0.8448, allocations: 8 kB / 1.099 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.8448, allocations: 19.98 kB / 1.099 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009117/0.8457, allocations: 256.2 kB / 1.099 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.408e-05/0.8458, allocations: 19.94 kB / 1.099 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.8471, allocations: 179 kB / 1.099 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.8472, allocations: 55.97 kB / 1.099 GB, free: 9.68 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.DataReader.nextTimeEvent,$whenCondition1,DataReader.nextTimeEventScaled,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEvent,eneLosInt.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000744/0.848, allocations: 441.8 kB / 1.1 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003604/0.8484, allocations: 166 kB / 1.1 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003207/0.8516, allocations: 1.485 MB / 1.101 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-05/0.8516, allocations: 19.98 kB / 1.101 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.8516, allocations: 0 / 1.101 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002042/0.8537, allocations: 1.113 MB / 1.102 GB, free: 6.445 MB / 0.8575 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 postOpt removeSimpleEquations (simulation): time 0.005441/0.8591, allocations: 2.942 MB / 1.105 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.699e-05/0.8592, allocations: 4 kB / 1.105 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008093/0.86, allocations: 191.8 kB / 1.105 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/0.86, allocations: 4 kB / 1.105 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.336e-05/0.8601, allocations: 35.97 kB / 1.105 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.8601, allocations: 7.938 kB / 1.105 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.8601, allocations: 0 / 1.105 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003468/0.8636, allocations: 1.931 MB / 1.107 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008064/0.8644, allocations: 410.5 kB / 1.108 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002959/0.8647, allocations: 16 kB / 1.108 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/0.8659, allocations: 144.8 kB / 1.108 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.8661, allocations: 72.89 kB / 1.108 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-05/0.8662, allocations: 48.09 kB / 1.108 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001436/0.8676, allocations: 0.9318 MB / 1.109 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8676, allocations: 0 / 1.109 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002597/0.8702, allocations: 0.9861 MB / 1.11 GB, free: 14.62 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (pipe.del.x,pipe.timDel.x,pipe.vol_b.dynBal.U,pipe.vol_a.dynBal.U,eneLosInt.y) * Number of discrete variables: 3 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * When equations: 2 * 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.005646/0.8759, allocations: 3.346 MB / 1.113 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003512/0.8794, allocations: 1.716 MB / 1.115 GB, free: 9.684 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.8794, allocations: 128 / 1.115 GB, free: 9.684 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.8805, allocations: 0.6338 MB / 1.115 GB, free: 9.043 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003863/0.8844, allocations: 0.7272 MB / 1.116 GB, free: 8.324 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02493/0.9093, allocations: 13.13 MB / 1.129 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009213/0.9103, allocations: 1.33 MB / 1.13 GB, free: 9.035 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001681/0.912, allocations: 459.7 kB / 1.131 GB, free: 8.605 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009734/0.913, allocations: 0.7374 MB / 1.131 GB, free: 7.867 MB / 0.8887 GB Notification: Performance of SimCode: time 1.142e-06/0.913, allocations: 0 / 1.131 GB, free: 7.867 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07357/0.9865, allocations: 46.45 MB / 1.177 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/0.9868, allocations: 269.3 kB / 1.177 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.988/3.975, allocations: 0 / 1.177 GB, free: 9.602 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg_fmu --startTime=0 --stopTime=875 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe 2>&1)