Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.567/1.567, allocations: 288.4 MB / 303.6 MB, free: 8.133 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009456/0.0009457, allocations: 179.6 kB / 372.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205.4 MB / 0.631 GB, free: 9.898 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007362/0.0007365, allocations: 105.5 kB / 0.7444 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005627/0.0005627, allocations: 17.28 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2606, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.04768/0.3083, allocations: 56.09 MB / 1.035 GB, free: 2.996 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02651/0.3349, allocations: 17.08 MB / 1.052 GB, free: 1.871 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00291/0.3378, allocations: 55.62 kB / 1.052 GB, free: 1.816 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002592/0.3404, allocations: 0.59 MB / 1.052 GB, free: 1.223 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.006975/0.3474, allocations: 2.155 MB / 1.054 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004287/0.3517, allocations: 1.309 MB / 1.056 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.007272/0.359, allocations: 4.909 MB / 1.06 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002173/0.3612, allocations: 1.16 MB / 1.062 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003875/0.3651, allocations: 1.563 MB / 1.063 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002052/0.3672, allocations: 1.163 MB / 1.064 GB, free: 4.906 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001857/0.3674, allocations: 64 kB / 1.064 GB, free: 4.844 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003888/0.3713, allocations: 1.54 MB / 1.066 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003436/0.3716, allocations: 290.6 kB / 1.066 GB, free: 3.016 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001167/0.3728, allocations: 0.8335 MB / 1.067 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.4747/0.8475, allocations: 2.327 MB / 1.069 GB, free: 20.12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.8475, allocations: 1.781 kB / 1.069 GB, free: 20.12 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.933e-06/0.8476, allocations: 0 / 1.069 GB, free: 20.12 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001157/0.8477, allocations: 0.5 kB / 1.069 GB, free: 20.12 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.005325/0.853, allocations: 1.917 MB / 1.071 GB, free: 19.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.8531, allocations: 9.75 kB / 1.071 GB, free: 19.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003439/0.8534, allocations: 164.1 kB / 1.071 GB, free: 19.16 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001952/0.8554, allocations: 407.6 kB / 1.072 GB, free: 19.06 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004244/0.8596, allocations: 1.55 MB / 1.073 GB, free: 18.61 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.8598, allocations: 82.19 kB / 1.073 GB, free: 18.61 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002289/0.86, allocations: 105.4 kB / 1.073 GB, free: 18.61 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003192/0.8632, allocations: 1.234 MB / 1.075 GB, free: 18.34 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.257e-05/0.8633, allocations: 6.031 kB / 1.075 GB, free: 18.34 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.8634, allocations: 41.09 kB / 1.075 GB, free: 18.34 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-05/0.8635, allocations: 34.36 kB / 1.075 GB, free: 18.34 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002638/0.8662, allocations: 0.9533 MB / 1.076 GB, free: 18.32 MB / 0.6823 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.01089/0.8771, allocations: 6.989 MB / 1.082 GB, free: 30.07 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002137/0.8792, allocations: 0.8269 MB / 1.083 GB, free: 30.03 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/0.8803, allocations: 398.5 kB / 1.084 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001995/0.8823, allocations: 1.786 MB / 1.085 GB, free: 28.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001381/0.8837, allocations: 474.3 kB / 1.086 GB, free: 27.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 4.338e-06/0.8837, allocations: 0 / 1.086 GB, free: 27.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.003529/0.8872, allocations: 1.193 MB / 1.087 GB, free: 27.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.877e-05/0.8873, allocations: 85.48 kB / 1.087 GB, free: 27.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002537/0.8899, allocations: 1.29 MB / 1.088 GB, free: 27.59 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.89, allocations: 40.55 kB / 1.088 GB, free: 27.56 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006587/0.8906, allocations: 0.7235 MB / 1.089 GB, free: 27.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002652/0.8909, allocations: 251.5 kB / 1.089 GB, free: 27.15 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.891, allocations: 16.69 kB / 1.089 GB, free: 27.15 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.8911, allocations: 342.6 kB / 1.09 GB, free: 26.84 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008495/0.892, allocations: 333.2 kB / 1.09 GB, free: 26.84 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009734/0.893, allocations: 0.5927 MB / 1.09 GB, free: 26.54 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001742/0.8947, allocations: 0.9403 MB / 1.091 GB, free: 26.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.8947, allocations: 5.656 kB / 1.091 GB, free: 26.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002664/0.8974, allocations: 1.109 MB / 1.092 GB, free: 26.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001738/0.8976, allocations: 308.7 kB / 1.093 GB, free: 25.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.862e-05/0.8976, allocations: 9.375 kB / 1.093 GB, free: 25.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.067e-05/0.8977, allocations: 11.97 kB / 1.093 GB, free: 25.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008837/0.8986, allocations: 221.2 kB / 1.093 GB, free: 25.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.654e-05/0.8986, allocations: 18.94 kB / 1.093 GB, free: 25.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.9002, allocations: 173.3 kB / 1.093 GB, free: 25.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/0.9004, allocations: 47.62 kB / 1.093 GB, free: 25.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.9004, allocations: 4.094 kB / 1.093 GB, free: 25.71 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002199/0.9026, allocations: 0.9507 MB / 1.094 GB, free: 25.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.481e-05/0.9027, allocations: 10.27 kB / 1.094 GB, free: 25.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.9027, allocations: 12 kB / 1.094 GB, free: 25.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008551/0.9035, allocations: 225.1 kB / 1.094 GB, free: 25.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.155e-05/0.9036, allocations: 15.94 kB / 1.094 GB, free: 25.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.905, allocations: 160.5 kB / 1.095 GB, free: 25.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.726e-05/0.9051, allocations: 47.44 kB / 1.095 GB, free: 25.63 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,eneLosInt.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0008801/0.906, allocations: 415 kB / 1.095 GB, free: 25.44 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002586/0.9063, allocations: 154.9 kB / 1.095 GB, free: 25.36 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002957/0.9093, allocations: 1.397 MB / 1.097 GB, free: 25.25 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.939e-05/0.9093, allocations: 16.59 kB / 1.097 GB, free: 25.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.9093, allocations: 0 / 1.097 GB, free: 25.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002113/0.9114, allocations: 1.209 MB / 1.098 GB, free: 24.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005049/0.9165, allocations: 2.685 MB / 1.1 GB, free: 24.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.747e-05/0.9165, allocations: 2.531 kB / 1.1 GB, free: 24.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000769/0.9173, allocations: 166.8 kB / 1.1 GB, free: 24.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.989e-06/0.9173, allocations: 6.516 kB / 1.1 GB, free: 24.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.042e-05/0.9174, allocations: 29.09 kB / 1.101 GB, free: 24.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.9174, allocations: 4.062 kB / 1.101 GB, free: 24.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.9174, allocations: 7.812 kB / 1.101 GB, free: 24.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003599/0.921, allocations: 1.821 MB / 1.102 GB, free: 24.23 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008623/0.9219, allocations: 384 kB / 1.103 GB, free: 24.05 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/0.9221, allocations: 19.5 kB / 1.103 GB, free: 24.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009727/0.9231, allocations: 109.3 kB / 1.103 GB, free: 24.04 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/0.9233, allocations: 68.53 kB / 1.103 GB, free: 24.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.145e-05/0.9234, allocations: 39.05 kB / 1.103 GB, free: 24.03 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00149/0.9249, allocations: 0.8761 MB / 1.104 GB, free: 23.92 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9249, allocations: 0 / 1.104 GB, free: 23.92 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00322/0.9281, allocations: 0.8564 MB / 1.105 GB, free: 23.78 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pipe.cor.del.x,pipe.cor.timDel.x,pipe.vol.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 (91): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * When equations: 2 * 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.005414/0.9335, allocations: 3.185 MB / 1.108 GB, free: 22.77 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003176/0.9367, allocations: 1.546 MB / 1.109 GB, free: 22.62 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.9367, allocations: 0 / 1.109 GB, free: 22.62 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009821/0.9377, allocations: 0.5862 MB / 1.11 GB, free: 22.55 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003517/0.9413, allocations: 0.637 MB / 1.11 GB, free: 22.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01966/0.9609, allocations: 9.299 MB / 1.119 GB, free: 18.99 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001236/0.9622, allocations: 1.239 MB / 1.121 GB, free: 18.26 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002286/0.9645, allocations: 411.9 kB / 1.121 GB, free: 18.14 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/0.9656, allocations: 0.6508 MB / 1.122 GB, free: 18.13 MB / 0.698 GB Notification: Performance of SimCode: time 1.793e-06/0.9656, allocations: 0.6875 kB / 1.122 GB, free: 18.13 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08549/1.051, allocations: 44.7 MB / 1.165 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002255/1.051, allocations: 262.2 kB / 1.166 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.565/4.616, allocations: 2.5 kB / 1.166 GB, free: 5.355 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg_fmu --startTime=0 --stopTime=875 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe 2>&1)