Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001199/0.001199, allocations: 189.6 kB / 16.25 MB, free: 6.629 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.65/1.65, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.786/1.786, allocations: 292.2 MB / 0.5485 GB, free: 13.66 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.001337/0.001338, allocations: 65.19 kB / 0.671 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2939, allocations: 114.6 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.04268/0.3366, allocations: 44.34 MB / 0.8261 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01891/0.3556, allocations: 12.92 MB / 0.8388 GB, free: 4.453 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002762/0.3584, allocations: 39.75 kB / 0.8388 GB, free: 4.414 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002252/0.3607, allocations: 0.5091 MB / 0.8393 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007515/0.3683, allocations: 1.836 MB / 0.8411 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004381/0.3727, allocations: 1.217 MB / 0.8423 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005485/0.3782, allocations: 3.295 MB / 0.8455 GB, free: 13.54 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001847/0.38, allocations: 1.044 MB / 0.8465 GB, free: 12.47 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003892/0.3839, allocations: 1.37 MB / 0.8479 GB, free: 11.1 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001912/0.3859, allocations: 0.9725 MB / 0.8488 GB, free: 10.12 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002455/0.3861, allocations: 132 kB / 0.8489 GB, free: 9.996 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003955/0.3901, allocations: 1.587 MB / 0.8505 GB, free: 8.406 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003566/0.3905, allocations: 303 kB / 0.8508 GB, free: 8.109 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001084/0.3916, allocations: 0.696 MB / 0.8514 GB, free: 7.41 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004758/0.3963, allocations: 2.443 MB / 0.8538 GB, free: 4.961 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3964, allocations: 0 / 0.8538 GB, free: 4.961 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.685e-06/0.3964, allocations: 0 / 0.8538 GB, free: 4.961 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.857e-05/0.3964, allocations: 4 kB / 0.8538 GB, free: 4.957 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003657/0.4001, allocations: 1.67 MB / 0.8555 GB, free: 3.234 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.4001, allocations: 12.03 kB / 0.8555 GB, free: 3.223 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004074/0.4005, allocations: 131.4 kB / 0.8556 GB, free: 3.094 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002461/0.403, allocations: 1.198 MB / 0.8568 GB, free: 1.852 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.676e-05/0.4031, allocations: 54 kB / 0.8568 GB, free: 1.797 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.4032, allocations: 75.94 kB / 0.8569 GB, free: 1.723 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.4046, allocations: 0.7598 MB / 0.8576 GB, free: 0.9453 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.4046, allocations: 4 kB / 0.8576 GB, free: 0.9414 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.459e-05/0.4047, allocations: 24 kB / 0.8577 GB, free: 0.918 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.414e-05/0.4047, allocations: 16 kB / 0.8577 GB, free: 0.9023 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.4057, allocations: 0.5711 MB / 0.8582 GB, free: 336 kB / 0.67 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.005269/0.411, allocations: 3.994 MB / 0.8621 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.412, allocations: 471.6 kB / 0.8626 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003722/0.4124, allocations: 224 kB / 0.8628 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001287/0.4137, allocations: 1.504 MB / 0.8643 GB, free: 9.488 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.4138, allocations: 42.92 kB / 0.8643 GB, free: 9.438 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=46): time 2.685e-06/0.4138, allocations: 0 / 0.8643 GB, free: 9.438 MB / 0.6856 GB Notification: Performance of matching and sorting (n=46): time 0.001479/0.4153, allocations: 0.6626 MB / 0.865 GB, free: 8.77 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.4153, allocations: 59.34 kB / 0.865 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.4167, allocations: 1.002 MB / 0.866 GB, free: 7.68 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.159e-05/0.4167, allocations: 41.7 kB / 0.866 GB, free: 7.633 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004177/0.4172, allocations: 484.6 kB / 0.8665 GB, free: 7.152 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/0.4173, allocations: 165.6 kB / 0.8667 GB, free: 6.988 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/0.4175, allocations: 118.1 kB / 0.8668 GB, free: 6.867 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.4177, allocations: 326 kB / 0.8671 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003587/0.418, allocations: 194.9 kB / 0.8673 GB, free: 6.348 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004959/0.4185, allocations: 316.5 kB / 0.8676 GB, free: 5.988 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007943/0.4193, allocations: 0.5073 MB / 0.8681 GB, free: 5.438 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.4194, allocations: 0 / 0.8681 GB, free: 5.438 MB / 0.6856 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001252/0.4206, allocations: 0.6508 MB / 0.8687 GB, free: 4.781 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.4207, allocations: 4 kB / 0.8687 GB, free: 4.777 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-05/0.4207, allocations: 12.38 kB / 0.8687 GB, free: 4.766 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.4207, allocations: 8 kB / 0.8687 GB, free: 4.758 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004577/0.4212, allocations: 127.8 kB / 0.8688 GB, free: 4.633 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.4212, allocations: 4 kB / 0.8688 GB, free: 4.629 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008294/0.422, allocations: 103.1 kB / 0.8689 GB, free: 4.527 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.518e-05/0.4221, allocations: 27.98 kB / 0.869 GB, free: 4.5 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007311/0.4228, allocations: 401.1 kB / 0.8694 GB, free: 4.105 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004471/0.4233, allocations: 320.5 kB / 0.8697 GB, free: 3.738 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007713/0.4241, allocations: 0.511 MB / 0.8702 GB, free: 3.18 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.068e-06/0.4241, allocations: 4 kB / 0.8702 GB, free: 3.176 MB / 0.6856 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001164/0.4253, allocations: 0.6391 MB / 0.8708 GB, free: 2.527 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.4253, allocations: 4 kB / 0.8708 GB, free: 2.523 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.4253, allocations: 11.98 kB / 0.8708 GB, free: 2.512 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.557e-06/0.4253, allocations: 7.938 kB / 0.8708 GB, free: 2.504 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004163/0.4257, allocations: 119.8 kB / 0.8709 GB, free: 2.387 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.4258, allocations: 8.406 kB / 0.8709 GB, free: 2.379 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006876/0.4265, allocations: 75.48 kB / 0.871 GB, free: 2.305 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-05/0.4265, allocations: 31.98 kB / 0.871 GB, free: 2.273 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (66): * Single equations (assignments): 64 * 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.0002352/0.4268, allocations: 219.4 kB / 0.8712 GB, free: 2.055 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.427, allocations: 106.7 kB / 0.8713 GB, free: 1.949 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/0.4288, allocations: 0.9758 MB / 0.8723 GB, free: 0.9609 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.37e-05/0.4288, allocations: 8 kB / 0.8723 GB, free: 0.9531 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.4288, allocations: 0 / 0.8723 GB, free: 0.9531 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001124/0.43, allocations: 0.8492 MB / 0.8731 GB, free: 40 kB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003631/0.4336, allocations: 1.996 MB / 0.8751 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-05/0.4337, allocations: 12.2 kB / 0.8751 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004728/0.4341, allocations: 95.89 kB / 0.8752 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.4341, allocations: 7.938 kB / 0.8752 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.791e-05/0.4342, allocations: 23.98 kB / 0.8752 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.4342, allocations: 7.938 kB / 0.8752 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4342, allocations: 0 / 0.8752 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/0.4362, allocations: 1.202 MB / 0.8764 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005296/0.4368, allocations: 283.5 kB / 0.8767 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.4369, allocations: 16 kB / 0.8767 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000598/0.4375, allocations: 47.89 kB / 0.8767 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.4377, allocations: 56.44 kB / 0.8768 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.915e-05/0.4377, allocations: 27.98 kB / 0.8768 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001169/0.4389, allocations: 0.7187 MB / 0.8775 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4389, allocations: 0 / 0.8775 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001877/0.4408, allocations: 0.6084 MB / 0.8781 GB, free: 10.78 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U,senTemOut.T,senTemIn.T) * 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 (62): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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.001278/0.4421, allocations: 0.5185 MB / 0.8786 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002285/0.4444, allocations: 0.9736 MB / 0.8796 GB, free: 9.27 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.4444, allocations: 0 / 0.8796 GB, free: 9.27 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006907/0.4451, allocations: 398.4 kB / 0.8799 GB, free: 8.867 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003097/0.4482, allocations: 0.614 MB / 0.8805 GB, free: 8.273 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004179/0.4524, allocations: 2.408 MB / 0.8829 GB, free: 5.812 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008267/0.4532, allocations: 1.058 MB / 0.8839 GB, free: 4.727 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001419/0.4547, allocations: 300.8 kB / 0.8842 GB, free: 4.43 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002646/0.4549, allocations: 103.3 kB / 0.8843 GB, free: 4.328 MB / 0.7012 GB Notification: Performance of SimCode: time 1.863e-06/0.455, allocations: 0 / 0.8843 GB, free: 4.328 MB / 0.7012 GB Notification: Performance of Templates: time 0.04775/0.5027, allocations: 26.4 MB / 0.9101 GB, free: 10.27 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)