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.001267/0.001267, allocations: 106 kB / 16.36 MB, free: 6.41 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.001266/0.001266, allocations: 192.9 kB / 17.3 MB, free: 5.797 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.512/1.512, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.821/1.821, allocations: 292.3 MB / 0.5496 GB, free: 17.62 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.00139/0.00139, allocations: 67.91 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2464, allocations: 114.5 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.472/0.7185, allocations: 44.68 MB / 0.8284 GB, free: 20.86 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01523/0.7338, allocations: 13.01 MB / 0.8411 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00195/0.7357, allocations: 44.03 kB / 0.8411 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001597/0.7374, allocations: 0.5998 MB / 0.8417 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005449/0.7429, allocations: 1.964 MB / 0.8437 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003528/0.7464, allocations: 1.331 MB / 0.845 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004714/0.7511, allocations: 3.266 MB / 0.8481 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001629/0.7528, allocations: 1.065 MB / 0.8492 GB, free: 7.227 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003322/0.7561, allocations: 1.372 MB / 0.8505 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001728/0.7579, allocations: 0.9438 MB / 0.8514 GB, free: 6.109 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002674/0.7581, allocations: 132 kB / 0.8516 GB, free: 6.109 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003785/0.7619, allocations: 1.57 MB / 0.8531 GB, free: 5.543 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003244/0.7623, allocations: 305.9 kB / 0.8534 GB, free: 5.34 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008729/0.7631, allocations: 0.6913 MB / 0.8541 GB, free: 4.91 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004582/0.7677, allocations: 2.457 MB / 0.8565 GB, free: 4.016 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.7678, allocations: 0 / 0.8565 GB, free: 4.016 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.635e-06/0.7678, allocations: 0 / 0.8565 GB, free: 4.016 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.597e-05/0.7678, allocations: 4.453 kB / 0.8565 GB, free: 4.012 MB / 0.6544 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.003679/0.7715, allocations: 1.661 MB / 0.8581 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.7715, allocations: 8.25 kB / 0.8581 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003886/0.7719, allocations: 133 kB / 0.8582 GB, free: 2.844 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00239/0.7743, allocations: 1.187 MB / 0.8594 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.362e-05/0.7744, allocations: 54.41 kB / 0.8594 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.7745, allocations: 70.25 kB / 0.8595 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.7758, allocations: 0.7591 MB / 0.8602 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.7758, allocations: 1.219 kB / 0.8603 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.364e-05/0.7759, allocations: 29.2 kB / 0.8603 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.192e-05/0.7759, allocations: 21.22 kB / 0.8603 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.7769, allocations: 0.5677 MB / 0.8609 GB, free: 1.496 MB / 0.6544 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.00521/0.7822, allocations: 3.993 MB / 0.8648 GB, free: 14.15 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.7832, allocations: 468.5 kB / 0.8652 GB, free: 13.91 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004122/0.7836, allocations: 213.2 kB / 0.8654 GB, free: 13.81 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001414/0.7851, allocations: 1.514 MB / 0.8669 GB, free: 12.05 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.7851, allocations: 36.34 kB / 0.8669 GB, free: 12 MB / 0.67 GB Notification: Performance of pre-optimization done (n=46): time 2.465e-06/0.7851, allocations: 0 / 0.8669 GB, free: 12 MB / 0.67 GB Notification: Performance of matching and sorting (n=46): time 0.001592/0.7867, allocations: 0.6667 MB / 0.8676 GB, free: 11.66 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.7868, allocations: 56.69 kB / 0.8676 GB, free: 11.6 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.7883, allocations: 1.016 MB / 0.8686 GB, free: 11.03 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.873e-05/0.7884, allocations: 36.55 kB / 0.8686 GB, free: 10.99 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003912/0.7888, allocations: 485.3 kB / 0.8691 GB, free: 10.56 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/0.7889, allocations: 161.8 kB / 0.8693 GB, free: 10.42 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.7891, allocations: 120.3 kB / 0.8694 GB, free: 10.35 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.7893, allocations: 331.2 kB / 0.8697 GB, free: 10.02 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003965/0.7897, allocations: 187.8 kB / 0.8699 GB, free: 9.93 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005165/0.7902, allocations: 324.4 kB / 0.8702 GB, free: 9.672 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009245/0.7911, allocations: 0.5094 MB / 0.8707 GB, free: 9.328 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.7912, allocations: 5.406 kB / 0.8707 GB, free: 9.324 MB / 0.67 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001324/0.7925, allocations: 0.6401 MB / 0.8713 GB, free: 8.996 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.7925, allocations: 9.656 kB / 0.8713 GB, free: 8.996 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.593e-05/0.7926, allocations: 12.53 kB / 0.8713 GB, free: 8.988 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.7926, allocations: 7.156 kB / 0.8713 GB, free: 8.988 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004803/0.7931, allocations: 127.5 kB / 0.8715 GB, free: 8.953 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.7931, allocations: 6.094 kB / 0.8715 GB, free: 8.953 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008136/0.7939, allocations: 79.97 kB / 0.8715 GB, free: 8.898 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.351e-05/0.794, allocations: 27.14 kB / 0.8716 GB, free: 8.895 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007137/0.7947, allocations: 398.6 kB / 0.8719 GB, free: 8.645 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005022/0.7952, allocations: 320.2 kB / 0.8723 GB, free: 8.395 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008557/0.7961, allocations: 0.5074 MB / 0.8728 GB, free: 8.047 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.44e-06/0.7961, allocations: 11.56 kB / 0.8728 GB, free: 8.039 MB / 0.67 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001224/0.7973, allocations: 0.6362 MB / 0.8734 GB, free: 7.715 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.7974, allocations: 10.34 kB / 0.8734 GB, free: 7.715 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.7974, allocations: 8.906 kB / 0.8734 GB, free: 7.711 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.7974, allocations: 14.3 kB / 0.8734 GB, free: 7.703 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004508/0.7979, allocations: 120.9 kB / 0.8735 GB, free: 7.676 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.7979, allocations: 9.125 kB / 0.8735 GB, free: 7.672 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007262/0.7986, allocations: 57.56 kB / 0.8736 GB, free: 7.633 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-05/0.7987, allocations: 31.17 kB / 0.8736 GB, free: 7.625 MB / 0.67 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.0002463/0.7989, allocations: 208.3 kB / 0.8738 GB, free: 7.422 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/0.7992, allocations: 109.9 kB / 0.8739 GB, free: 7.363 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001817/0.801, allocations: 0.9681 MB / 0.8749 GB, free: 6.844 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.763e-05/0.801, allocations: 15.39 kB / 0.8749 GB, free: 6.836 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.801, allocations: 0 / 0.8749 GB, free: 6.836 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001125/0.8022, allocations: 0.8443 MB / 0.8757 GB, free: 6.223 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003411/0.8056, allocations: 2.006 MB / 0.8777 GB, free: 4.754 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/0.8056, allocations: 3.406 kB / 0.8777 GB, free: 4.754 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003963/0.806, allocations: 105.9 kB / 0.8778 GB, free: 4.723 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.814e-06/0.806, allocations: 4.062 kB / 0.8778 GB, free: 4.723 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.052e-05/0.8061, allocations: 16.5 kB / 0.8778 GB, free: 4.715 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.165e-06/0.8061, allocations: 8.141 kB / 0.8778 GB, free: 4.711 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.8061, allocations: 2.781 kB / 0.8778 GB, free: 4.711 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/0.808, allocations: 1.206 MB / 0.879 GB, free: 3.984 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004906/0.8085, allocations: 282.2 kB / 0.8793 GB, free: 3.734 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.8087, allocations: 17.67 kB / 0.8793 GB, free: 3.723 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005531/0.8092, allocations: 27.08 kB / 0.8793 GB, free: 3.707 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.8094, allocations: 50.03 kB / 0.8793 GB, free: 3.68 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.851e-05/0.8095, allocations: 36.88 kB / 0.8794 GB, free: 3.664 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001094/0.8106, allocations: 0.7264 MB / 0.8801 GB, free: 3.246 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8106, allocations: 0 / 0.8801 GB, free: 3.246 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001829/0.8124, allocations: 0.6051 MB / 0.8807 GB, free: 3.109 MB / 0.67 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.001084/0.8135, allocations: 0.522 MB / 0.8812 GB, free: 2.824 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001675/0.8152, allocations: 0.9277 MB / 0.8821 GB, free: 2.336 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.8152, allocations: 2.375 kB / 0.8821 GB, free: 2.336 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006009/0.8158, allocations: 403.2 kB / 0.8825 GB, free: 2.117 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002602/0.8184, allocations: 0.6068 MB / 0.8831 GB, free: 1.828 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00312/0.8216, allocations: 2.028 MB / 0.8851 GB, free: 0.543 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000634/0.8222, allocations: 1.055 MB / 0.8861 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001054/0.8233, allocations: 287.8 kB / 0.8864 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/0.8235, allocations: 113.8 kB / 0.8865 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of SimCode: time 4.91e-07/0.8235, allocations: 0 / 0.8865 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of Templates: time 0.04439/0.8679, allocations: 26.71 MB / 0.9126 GB, free: 6.777 MB / 0.7012 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)