Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.509/1.509, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 183.7 kB / 326.6 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.867/1.867, allocations: 205.4 MB / 0.5776 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008867/0.0008867, allocations: 97.05 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003867, allocations: 8 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2552, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.04584/0.3011, allocations: 56.08 MB / 0.9551 GB, free: 7.543 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02595/0.3271, allocations: 17.04 MB / 0.9717 GB, free: 6.465 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003308/0.3304, allocations: 55.62 kB / 0.9718 GB, free: 6.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003135/0.3336, allocations: 0.6016 MB / 0.9724 GB, free: 5.805 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.008334/0.342, allocations: 2.023 MB / 0.9743 GB, free: 3.773 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00549/0.3475, allocations: 1.26 MB / 0.9756 GB, free: 2.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.008593/0.3561, allocations: 4.887 MB / 0.9803 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002716/0.3588, allocations: 1.077 MB / 0.9814 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00435/0.3632, allocations: 1.497 MB / 0.9828 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002702/0.366, allocations: 1.174 MB / 0.984 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0005096/0.3665, allocations: 68 kB / 0.9841 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003963/0.3705, allocations: 1.29 MB / 0.9853 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0006075/0.3711, allocations: 294.6 kB / 0.9856 GB, free: 8.188 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001037/0.3722, allocations: 376.8 kB / 0.986 GB, free: 7.812 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004967/0.3771, allocations: 2.252 MB / 0.9882 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 9.918e-06/0.3772, allocations: 0 / 0.9882 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.959e-06/0.3772, allocations: 4 kB / 0.9882 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000123/0.3773, allocations: 4 kB / 0.9882 GB, free: 5.547 MB / 0.6355 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.005356/0.3827, allocations: 1.943 MB / 0.9901 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.3828, allocations: 8.031 kB / 0.9901 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004256/0.3832, allocations: 164.6 kB / 0.9902 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002097/0.3853, allocations: 405.4 kB / 0.9906 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004233/0.3896, allocations: 1.507 MB / 0.9921 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.835e-05/0.3897, allocations: 74.08 kB / 0.9922 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000279/0.39, allocations: 108 kB / 0.9923 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003013/0.393, allocations: 1.217 MB / 0.9934 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.87e-05/0.3931, allocations: 4 kB / 0.9935 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.3932, allocations: 40 kB / 0.9935 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.48e-05/0.3932, allocations: 32 kB / 0.9935 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002499/0.3957, allocations: 0.9641 MB / 0.9945 GB, free: 14.88 MB / 0.6511 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.008997/0.4048, allocations: 6.601 MB / 1.001 GB, free: 7.758 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/0.4067, allocations: 0.8653 MB / 1.002 GB, free: 6.883 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008938/0.4077, allocations: 422.6 kB / 1.002 GB, free: 6.469 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001606/0.4093, allocations: 1.786 MB / 1.004 GB, free: 4.297 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/0.4103, allocations: 488.1 kB / 1.004 GB, free: 3.805 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=77): time 4.508e-06/0.4104, allocations: 3.938 kB / 1.004 GB, free: 3.801 MB / 0.6511 GB Notification: Performance of matching and sorting (n=77): time 0.00329/0.4137, allocations: 1.234 MB / 1.006 GB, free: 2.562 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.972e-05/0.4138, allocations: 85.77 kB / 1.006 GB, free: 2.457 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00284/0.4166, allocations: 1.272 MB / 1.007 GB, free: 1.172 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000115/0.4168, allocations: 49.7 kB / 1.007 GB, free: 1.117 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007579/0.4175, allocations: 0.7084 MB / 1.008 GB, free: 408 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003932/0.418, allocations: 272.1 kB / 1.008 GB, free: 132 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-05/0.418, allocations: 12 kB / 1.008 GB, free: 120 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000229/0.4183, allocations: 341.9 kB / 1.008 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008908/0.4192, allocations: 349.8 kB / 1.009 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/0.4203, allocations: 0.5838 MB / 1.009 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.4213, allocations: 418.4 kB / 1.01 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.4213, allocations: 4 kB / 1.01 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002789/0.4241, allocations: 1.126 MB / 1.011 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002152/0.4244, allocations: 282.2 kB / 1.011 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.882e-05/0.4244, allocations: 11.94 kB / 1.011 GB, free: 12.83 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.41e-05/0.4244, allocations: 12 kB / 1.011 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008641/0.4253, allocations: 219.7 kB / 1.011 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-05/0.4253, allocations: 19.92 kB / 1.011 GB, free: 12.58 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.4269, allocations: 170.8 kB / 1.011 GB, free: 12.41 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.427, allocations: 47.98 kB / 1.011 GB, free: 12.37 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.4271, allocations: 4 kB / 1.011 GB, free: 12.36 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002129/0.4292, allocations: 0.9738 MB / 1.012 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.456e-05/0.4292, allocations: 8.531 kB / 1.012 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.4293, allocations: 16 kB / 1.012 GB, free: 11.37 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008371/0.4301, allocations: 219.7 kB / 1.013 GB, free: 11.15 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.416e-05/0.4301, allocations: 20 kB / 1.013 GB, free: 11.13 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.4315, allocations: 163 kB / 1.013 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.4317, allocations: 43.98 kB / 1.013 GB, free: 10.93 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (109): * Single equations (assignments): 107 * 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.0008898/0.4326, allocations: 415.8 kB / 1.013 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004689/0.433, allocations: 154.1 kB / 1.013 GB, free: 10.37 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003343/0.4364, allocations: 1.443 MB / 1.015 GB, free: 8.941 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.049e-05/0.4364, allocations: 8 kB / 1.015 GB, free: 8.934 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.4365, allocations: 4 kB / 1.015 GB, free: 8.93 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002269/0.4387, allocations: 1.237 MB / 1.016 GB, free: 7.621 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006343/0.4451, allocations: 2.732 MB / 1.019 GB, free: 4.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.916e-05/0.4452, allocations: 4 kB / 1.019 GB, free: 4.816 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008022/0.446, allocations: 171.9 kB / 1.019 GB, free: 4.648 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.283e-05/0.446, allocations: 4 kB / 1.019 GB, free: 4.645 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.695e-05/0.4461, allocations: 27.98 kB / 1.019 GB, free: 4.617 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.196e-06/0.4461, allocations: 7.938 kB / 1.019 GB, free: 4.609 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.4461, allocations: 7.984 kB / 1.019 GB, free: 4.602 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003587/0.4497, allocations: 1.871 MB / 1.021 GB, free: 2.703 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009228/0.4507, allocations: 386.7 kB / 1.021 GB, free: 2.305 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003831/0.4511, allocations: 24 kB / 1.021 GB, free: 2.281 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/0.4523, allocations: 109.9 kB / 1.021 GB, free: 2.176 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.4524, allocations: 64.91 kB / 1.021 GB, free: 2.113 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.263e-05/0.4525, allocations: 47.86 kB / 1.021 GB, free: 2.066 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001613/0.4542, allocations: 0.865 MB / 1.022 GB, free: 1.203 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4542, allocations: 0 / 1.022 GB, free: 1.203 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002824/0.457, allocations: 0.8536 MB / 1.023 GB, free: 356 kB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (pipe.cor.del.x,pipe.cor.timDel.x,pipe.vol.dynBal.U,senEntOut.h_out,eneLosInt.y,senEntIn.h_out) * 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 (95): * Single equations (assignments): 78 * 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.006013/0.463, allocations: 3.208 MB / 1.026 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003652/0.4667, allocations: 1.586 MB / 1.028 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.345e-06/0.4667, allocations: 0 / 1.028 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001145/0.4679, allocations: 0.6068 MB / 1.028 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003625/0.4715, allocations: 0.6377 MB / 1.029 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02563/0.4972, allocations: 9.48 MB / 1.038 GB, free: 488 kB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/0.4985, allocations: 1.247 MB / 1.039 GB, free: 15.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002196/0.5007, allocations: 411.7 kB / 1.04 GB, free: 14.79 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001154/0.5019, allocations: 0.6516 MB / 1.04 GB, free: 14.14 MB / 0.698 GB Notification: Performance of SimCode: time 5.61e-07/0.5019, allocations: 3.938 kB / 1.04 GB, free: 14.14 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5227/1.025, allocations: 44.48 MB / 1.084 GB, free: 135.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/1.025, allocations: 254.4 kB / 1.084 GB, free: 135.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.513/4.538, allocations: 0 / 1.084 GB, free: 135.3 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg_fmu --startTime=0 --stopTime=875 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe 2>&1)