Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008162/0.008162, allocations: 169.6 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.823/1.823, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008025/0.0008024, allocations: 17.56 kB / 0.6743 GB, free: 25.69 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2903, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.06305/0.3534, allocations: 59.31 MB / 0.8458 GB, free: 60 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02691/0.3804, allocations: 18.11 MB / 0.8635 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003755/0.3842, allocations: 59.62 kB / 0.8635 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00364/0.3879, allocations: 0.7032 MB / 0.8642 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.009356/0.3972, allocations: 2.36 MB / 0.8665 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005496/0.4028, allocations: 1.57 MB / 0.868 GB, free: 9.211 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007553/0.4103, allocations: 5.643 MB / 0.8736 GB, free: 3.551 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002703/0.4131, allocations: 1.175 MB / 0.8747 GB, free: 2.34 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004419/0.4175, allocations: 1.586 MB / 0.8763 GB, free: 0.7461 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00269/0.4202, allocations: 1.235 MB / 0.8775 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0005042/0.4208, allocations: 67.94 kB / 0.8775 GB, free: 15.44 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004702/0.4255, allocations: 1.626 MB / 0.8791 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0007115/0.4262, allocations: 302.5 kB / 0.8794 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002123/0.4284, allocations: 0.8837 MB / 0.8803 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.006823/0.4352, allocations: 3.022 MB / 0.8832 GB, free: 9.59 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.4353, allocations: 0 / 0.8832 GB, free: 9.59 MB / 0.7012 GB Notification: Performance of FrontEnd: time 5.45e-06/0.4353, allocations: 0 / 0.8832 GB, free: 9.59 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001088/0.4354, allocations: 3.938 kB / 0.8832 GB, free: 9.586 MB / 0.7012 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.005571/0.441, allocations: 1.919 MB / 0.8851 GB, free: 7.609 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.441, allocations: 16.02 kB / 0.8851 GB, free: 7.594 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002215/0.4433, allocations: 397.4 kB / 0.8855 GB, free: 7.203 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004829/0.4481, allocations: 1.556 MB / 0.887 GB, free: 5.594 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.4483, allocations: 82.02 kB / 0.8871 GB, free: 5.512 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003522/0.4486, allocations: 112 kB / 0.8872 GB, free: 5.402 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002481/0.4511, allocations: 1.248 MB / 0.8884 GB, free: 4.059 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.437e-05/0.4512, allocations: 0 / 0.8884 GB, free: 4.059 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.4513, allocations: 44 kB / 0.8885 GB, free: 4.016 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-05/0.4513, allocations: 28 kB / 0.8885 GB, free: 3.988 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/0.4534, allocations: 0.964 MB / 0.8894 GB, free: 3.027 MB / 0.7012 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.008838/0.4623, allocations: 6.995 MB / 0.8963 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001899/0.4642, allocations: 0.8237 MB / 0.8971 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008482/0.4651, allocations: 406.4 kB / 0.8974 GB, free: 10.24 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001697/0.4668, allocations: 1.793 MB / 0.8992 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009512/0.4678, allocations: 472.1 kB / 0.8996 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=73): time 3.166e-06/0.4678, allocations: 0 / 0.8996 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=73): time 0.002944/0.4707, allocations: 1.207 MB / 0.9008 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.577e-05/0.4708, allocations: 89.7 kB / 0.9009 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001912/0.4727, allocations: 1.292 MB / 0.9022 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.164e-05/0.4728, allocations: 41.7 kB / 0.9022 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006335/0.4735, allocations: 0.7199 MB / 0.9029 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002651/0.4738, allocations: 260.3 kB / 0.9032 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.4739, allocations: 77.69 kB / 0.9032 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.474, allocations: 337.9 kB / 0.9036 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007436/0.4748, allocations: 337.8 kB / 0.9039 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008963/0.4757, allocations: 0.595 MB / 0.9045 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/0.4774, allocations: 0.945 MB / 0.9054 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.4774, allocations: 8 kB / 0.9054 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002525/0.4799, allocations: 1.116 MB / 0.9065 GB, free: 304 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002153/0.4801, allocations: 304.7 kB / 0.9068 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-05/0.4802, allocations: 12 kB / 0.9068 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.797e-05/0.4802, allocations: 12 kB / 0.9068 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008497/0.4811, allocations: 219.7 kB / 0.907 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.946e-05/0.4811, allocations: 15.94 kB / 0.907 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.4824, allocations: 163 kB / 0.9072 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.57e-05/0.4825, allocations: 55.92 kB / 0.9072 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.4825, allocations: 4 kB / 0.9072 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001961/0.4845, allocations: 0.9562 MB / 0.9082 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/0.4846, allocations: 15.98 kB / 0.9082 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.4846, allocations: 12 kB / 0.9082 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007906/0.4854, allocations: 216.1 kB / 0.9084 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.4854, allocations: 19.92 kB / 0.9084 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.4868, allocations: 163 kB / 0.9086 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.849e-05/0.4869, allocations: 47.92 kB / 0.9086 GB, free: 14 MB / 0.7325 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 ($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 (107): * Single equations (assignments): 105 * 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.0007892/0.4877, allocations: 408.8 kB / 0.909 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002814/0.488, allocations: 146.2 kB / 0.9092 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002823/0.4909, allocations: 1.411 MB / 0.9105 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.075e-05/0.4909, allocations: 8 kB / 0.9105 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.4909, allocations: 4 kB / 0.9105 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001948/0.4929, allocations: 1.217 MB / 0.9117 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004669/0.4975, allocations: 2.686 MB / 0.9144 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/0.4976, allocations: 0 / 0.9144 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007325/0.4983, allocations: 175.6 kB / 0.9145 GB, free: 7.832 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.4983, allocations: 8.094 kB / 0.9145 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.236e-05/0.4984, allocations: 27.98 kB / 0.9146 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.887e-06/0.4984, allocations: 7.984 kB / 0.9146 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4984, allocations: 0 / 0.9146 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003276/0.5017, allocations: 1.817 MB / 0.9163 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007536/0.5025, allocations: 394.7 kB / 0.9167 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001762/0.5027, allocations: 16 kB / 0.9167 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009351/0.5036, allocations: 119.7 kB / 0.9168 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.5038, allocations: 64.91 kB / 0.9169 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.001e-05/0.5038, allocations: 35.98 kB / 0.9169 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001386/0.5052, allocations: 0.8732 MB / 0.9178 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.01e-07/0.5052, allocations: 0 / 0.9178 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002327/0.5076, allocations: 0.8576 MB / 0.9186 GB, free: 3.574 MB / 0.7325 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 (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.001982/0.5096, allocations: 0.925 MB / 0.9195 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003165/0.5128, allocations: 1.558 MB / 0.9211 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/0.5128, allocations: 4 kB / 0.9211 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.5138, allocations: 0.5914 MB / 0.9216 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003529/0.5174, allocations: 0.639 MB / 0.9223 GB, free: 16 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4437/0.9611, allocations: 3.667 MB / 0.9258 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008279/0.962, allocations: 1.249 MB / 0.9271 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001641/0.9636, allocations: 405.9 kB / 0.9274 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003758/0.964, allocations: 146.2 kB / 0.9276 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of SimCode: time 6.11e-07/0.964, allocations: 0 / 0.9276 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.0577/1.022, allocations: 30.6 MB / 0.9575 GB, free: 118.8 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe 2>&1) Environment - environmentSimulation: