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.001221/0.001221, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 200.2 kB / 16.64 MB, free: 6.453 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.796/1.796, allocations: 205.1 MB / 222.5 MB, free: 4.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.882/1.882, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001441/0.001441, allocations: 71.45 kB / 0.6723 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3039, allocations: 114.6 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.04679/0.3508, allocations: 44.68 MB / 0.8278 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02074/0.3716, allocations: 13.01 MB / 0.8405 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002606/0.3743, allocations: 43.75 kB / 0.8405 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001972/0.3763, allocations: 0.6016 MB / 0.8411 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006768/0.3831, allocations: 1.966 MB / 0.843 GB, free: 240 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004179/0.3873, allocations: 1.323 MB / 0.8443 GB, free: 14.91 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005286/0.3926, allocations: 3.276 MB / 0.8475 GB, free: 11.63 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001665/0.3943, allocations: 1.063 MB / 0.8485 GB, free: 10.55 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003819/0.3981, allocations: 1.376 MB / 0.8499 GB, free: 9.168 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002006/0.4001, allocations: 0.9414 MB / 0.8508 GB, free: 8.223 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002253/0.4004, allocations: 132 kB / 0.8509 GB, free: 8.094 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00384/0.4042, allocations: 1.564 MB / 0.8525 GB, free: 6.527 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000328/0.4046, allocations: 310.8 kB / 0.8528 GB, free: 6.223 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0009334/0.4055, allocations: 0.7 MB / 0.8534 GB, free: 5.52 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004205/0.4097, allocations: 2.454 MB / 0.8558 GB, free: 3.059 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.4097, allocations: 0 / 0.8558 GB, free: 3.059 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.535e-06/0.4098, allocations: 0 / 0.8558 GB, free: 3.059 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.776e-05/0.4098, allocations: 0 / 0.8558 GB, free: 3.059 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.003285/0.4131, allocations: 1.666 MB / 0.8575 GB, free: 1.34 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.4131, allocations: 12.03 kB / 0.8575 GB, free: 1.328 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004121/0.4135, allocations: 131.4 kB / 0.8576 GB, free: 1.199 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002496/0.4161, allocations: 1.217 MB / 0.8588 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.478e-05/0.4161, allocations: 54 kB / 0.8588 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.4163, allocations: 75.89 kB / 0.8589 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.4176, allocations: 0.7598 MB / 0.8597 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/0.4176, allocations: 0 / 0.8597 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-05/0.4177, allocations: 32 kB / 0.8597 GB, free: 15 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.228e-05/0.4177, allocations: 16 kB / 0.8597 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.4188, allocations: 0.5672 MB / 0.8603 GB, free: 14.42 MB / 0.6856 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.005369/0.4242, allocations: 3.994 MB / 0.8642 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009839/0.4252, allocations: 474.7 kB / 0.8646 GB, free: 9.633 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003619/0.4255, allocations: 213.1 kB / 0.8648 GB, free: 9.422 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001344/0.4269, allocations: 1.504 MB / 0.8663 GB, free: 7.586 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.427, allocations: 42.92 kB / 0.8663 GB, free: 7.535 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=46): time 2.364e-06/0.427, allocations: 3.938 kB / 0.8663 GB, free: 7.531 MB / 0.6856 GB Notification: Performance of matching and sorting (n=46): time 0.001527/0.4285, allocations: 0.6743 MB / 0.867 GB, free: 6.852 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.4286, allocations: 55.41 kB / 0.867 GB, free: 6.785 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/0.43, allocations: 1.014 MB / 0.868 GB, free: 5.754 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.314e-05/0.43, allocations: 41.7 kB / 0.8681 GB, free: 5.707 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004285/0.4305, allocations: 484.6 kB / 0.8685 GB, free: 5.227 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.4307, allocations: 157.7 kB / 0.8687 GB, free: 5.07 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002003/0.4309, allocations: 118.1 kB / 0.8688 GB, free: 4.949 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.431, allocations: 330 kB / 0.8691 GB, free: 4.621 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/0.4314, allocations: 187 kB / 0.8693 GB, free: 4.434 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005033/0.4319, allocations: 328.4 kB / 0.8696 GB, free: 4.059 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008628/0.4328, allocations: 0.4996 MB / 0.8701 GB, free: 3.516 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.4328, allocations: 0 / 0.8701 GB, free: 3.516 MB / 0.6856 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001254/0.434, allocations: 0.6508 MB / 0.8707 GB, free: 2.859 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.4341, allocations: 4 kB / 0.8707 GB, free: 2.855 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.79e-05/0.4341, allocations: 12.38 kB / 0.8707 GB, free: 2.844 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.83e-05/0.4341, allocations: 8 kB / 0.8707 GB, free: 2.836 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004587/0.4346, allocations: 123.8 kB / 0.8709 GB, free: 2.715 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/0.4346, allocations: 8 kB / 0.8709 GB, free: 2.707 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006828/0.4353, allocations: 79.19 kB / 0.8709 GB, free: 2.629 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.17e-05/0.4354, allocations: 31.98 kB / 0.871 GB, free: 2.598 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006749/0.4361, allocations: 401.1 kB / 0.8714 GB, free: 2.203 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004615/0.4366, allocations: 316.5 kB / 0.8717 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008548/0.4374, allocations: 0.5112 MB / 0.8722 GB, free: 1.285 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.716e-06/0.4375, allocations: 0 / 0.8722 GB, free: 1.285 MB / 0.6856 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001229/0.4387, allocations: 0.6391 MB / 0.8728 GB, free: 0.6367 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.4387, allocations: 8 kB / 0.8728 GB, free: 0.6289 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/0.4387, allocations: 16.42 kB / 0.8728 GB, free: 0.6133 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.4388, allocations: 11.94 kB / 0.8728 GB, free: 0.6016 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004237/0.4392, allocations: 123.8 kB / 0.8729 GB, free: 492 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.4392, allocations: 7.938 kB / 0.8729 GB, free: 484 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006125/0.4398, allocations: 55.56 kB / 0.873 GB, free: 428 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.835e-05/0.4399, allocations: 27.98 kB / 0.873 GB, free: 400 kB / 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.0002211/0.4401, allocations: 214.9 kB / 0.8732 GB, free: 180 kB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000197/0.4403, allocations: 110.6 kB / 0.8733 GB, free: 68 kB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001907/0.4422, allocations: 0.9718 MB / 0.8743 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-05/0.4423, allocations: 8 kB / 0.8743 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.4423, allocations: 0 / 0.8743 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001177/0.4435, allocations: 0.8375 MB / 0.8751 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00331/0.4468, allocations: 2.012 MB / 0.8771 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.621e-05/0.4468, allocations: 7.984 kB / 0.8771 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003938/0.4472, allocations: 99.81 kB / 0.8772 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/0.4473, allocations: 4 kB / 0.8772 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.431e-05/0.4473, allocations: 16 kB / 0.8772 GB, free: 11.94 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.4473, allocations: 7.984 kB / 0.8772 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.4473, allocations: 4 kB / 0.8772 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/0.4493, allocations: 1.21 MB / 0.8784 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004364/0.4497, allocations: 279.5 kB / 0.8787 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/0.4498, allocations: 19.98 kB / 0.8787 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00051/0.4504, allocations: 27.92 kB / 0.8787 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.4505, allocations: 56.42 kB / 0.8787 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.146e-05/0.4506, allocations: 27.98 kB / 0.8788 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001141/0.4517, allocations: 0.7303 MB / 0.8795 GB, free: 9.516 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4517, allocations: 0 / 0.8795 GB, free: 9.516 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001773/0.4535, allocations: 0.6008 MB / 0.8801 GB, free: 8.914 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.001241/0.4548, allocations: 0.5235 MB / 0.8806 GB, free: 8.387 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001814/0.4566, allocations: 0.9273 MB / 0.8815 GB, free: 7.441 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.4566, allocations: 0 / 0.8815 GB, free: 7.441 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005956/0.4572, allocations: 406.4 kB / 0.8819 GB, free: 7.027 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002577/0.4598, allocations: 0.6117 MB / 0.8825 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003311/0.4631, allocations: 2.028 MB / 0.8845 GB, free: 4.352 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000653/0.4638, allocations: 1.05 MB / 0.8855 GB, free: 3.273 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009323/0.4647, allocations: 300.7 kB / 0.8858 GB, free: 2.977 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002393/0.465, allocations: 107.4 kB / 0.8859 GB, free: 2.871 MB / 0.7012 GB Notification: Performance of SimCode: time 8.92e-07/0.465, allocations: 0 / 0.8859 GB, free: 2.871 MB / 0.7012 GB Notification: Performance of Templates: time 0.04728/0.5123, allocations: 26.69 MB / 0.9119 GB, free: 8.512 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)