Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.00133/0.00133, 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.001581/0.001581, allocations: 188.5 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.054/1.054, allocations: 135.1 MB / 425.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 68.89 kB / 0.5049 GB, free: 5.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1804, allocations: 80.93 MB / 0.5839 GB, free: 4.891 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.4431/0.6235, allocations: 114.1 MB / 0.6953 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.07388/0.6974, allocations: 26.34 MB / 0.7211 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008437/0.7059, allocations: 104.8 kB / 0.7212 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005991/0.712, allocations: 0.985 MB / 0.7221 GB, free: 9.633 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.02088/0.7329, allocations: 3.173 MB / 0.7252 GB, free: 7.773 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0138/0.7468, allocations: 2.14 MB / 0.7273 GB, free: 6.48 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01812/0.7649, allocations: 6.21 MB / 0.7334 GB, free: 2.883 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005544/0.7705, allocations: 1.901 MB / 0.7352 GB, free: 1.648 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01101/0.7815, allocations: 2.661 MB / 0.7378 GB, free: 40 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005388/0.787, allocations: 1.813 MB / 0.7396 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001239/0.7882, allocations: 220.1 kB / 0.7398 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01076/0.799, allocations: 2.375 MB / 0.7421 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001865/0.8009, allocations: 0.5448 MB / 0.7427 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00487/0.8058, allocations: 1.287 MB / 0.7439 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01145/0.8173, allocations: 4.09 MB / 0.7479 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.8174, allocations: 0 / 0.7479 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.425e-06/0.8174, allocations: 0 / 0.7479 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001405/0.8175, allocations: 0 / 0.7479 GB, free: 6.758 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.008202/0.8257, allocations: 2.834 MB / 0.7507 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.8258, allocations: 8.031 kB / 0.7507 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.8272, allocations: 253.1 kB / 0.7509 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005406/0.8326, allocations: 2.103 MB / 0.753 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.8327, allocations: 102.7 kB / 0.7531 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003697/0.8331, allocations: 139.9 kB / 0.7532 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003224/0.8364, allocations: 1.458 MB / 0.7546 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.439e-05/0.8364, allocations: 4 kB / 0.7546 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001567/0.8366, allocations: 56 kB / 0.7547 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-05/0.8367, allocations: 36 kB / 0.7547 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002211/0.8389, allocations: 1.021 MB / 0.7557 GB, free: 14.55 MB / 0.5762 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.01043/0.8493, allocations: 8.124 MB / 0.7637 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.851, allocations: 0.8317 MB / 0.7645 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006301/0.8517, allocations: 387.6 kB / 0.7648 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002272/0.854, allocations: 2.799 MB / 0.7676 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.854, allocations: 47.22 kB / 0.7676 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 2.505e-06/0.854, allocations: 0 / 0.7676 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.00246/0.8565, allocations: 1.125 MB / 0.7687 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.8566, allocations: 64 kB / 0.7688 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002533/0.8591, allocations: 1.606 MB / 0.7703 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.541e-05/0.8592, allocations: 45.7 kB / 0.7704 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007064/0.8599, allocations: 0.9314 MB / 0.7713 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003027/0.8602, allocations: 307.6 kB / 0.7716 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003369/0.8606, allocations: 234.6 kB / 0.7718 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.8607, allocations: 349.9 kB / 0.7722 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006433/0.8614, allocations: 329.9 kB / 0.7725 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009125/0.8623, allocations: 0.7033 MB / 0.7732 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/0.8639, allocations: 1.085 MB / 0.7742 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/0.8639, allocations: 0.7656 kB / 0.7742 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002396/0.8663, allocations: 1.257 MB / 0.7754 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.8664, allocations: 8 kB / 0.7755 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.182e-05/0.8664, allocations: 16 kB / 0.7755 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.017e-05/0.8664, allocations: 24.67 kB / 0.7755 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008269/0.8673, allocations: 259.6 kB / 0.7757 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.328e-05/0.8673, allocations: 30.31 kB / 0.7758 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.8687, allocations: 190.5 kB / 0.7759 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/0.8688, allocations: 63.98 kB / 0.776 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001239/0.8701, allocations: 0.6197 MB / 0.7766 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009609/0.8711, allocations: 0.7072 MB / 0.7773 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001552/0.8726, allocations: 1.081 MB / 0.7784 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.106e-06/0.8726, allocations: 0 / 0.7784 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002495/0.8751, allocations: 1.249 MB / 0.7796 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.8752, allocations: 12 kB / 0.7796 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.779e-05/0.8752, allocations: 16 kB / 0.7796 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.8752, allocations: 16 kB / 0.7796 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007981/0.876, allocations: 256.1 kB / 0.7799 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.43e-05/0.8761, allocations: 31.92 kB / 0.7799 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.8776, allocations: 135.2 kB / 0.78 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.8777, allocations: 75.91 kB / 0.7801 GB, free: 3.477 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0003759/0.8781, allocations: 251.9 kB / 0.7803 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004838/0.8786, allocations: 189.7 kB / 0.7805 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003606/0.8822, allocations: 1.741 MB / 0.7822 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-05/0.8823, allocations: 19.98 kB / 0.7822 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.8823, allocations: 7.938 kB / 0.7822 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001709/0.884, allocations: 1.138 MB / 0.7834 GB, free: 112 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00565/0.8897, allocations: 3.475 MB / 0.7868 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.652e-05/0.8897, allocations: 12 kB / 0.7868 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006965/0.8904, allocations: 199.7 kB / 0.787 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-05/0.8904, allocations: 15.94 kB / 0.787 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.553e-05/0.8905, allocations: 43.97 kB / 0.787 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-05/0.8905, allocations: 15.94 kB / 0.787 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/0.8905, allocations: 11.94 kB / 0.787 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003163/0.8937, allocations: 2.234 MB / 0.7892 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007715/0.8945, allocations: 438 kB / 0.7896 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002405/0.8947, allocations: 32 kB / 0.7897 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009733/0.8957, allocations: 100.7 kB / 0.7898 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/0.8959, allocations: 116.7 kB / 0.7899 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.896, allocations: 67.91 kB / 0.7899 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001437/0.8975, allocations: 1.079 MB / 0.791 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8975, allocations: 0 / 0.791 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002724/0.9002, allocations: 1.123 MB / 0.7921 GB, free: 6.859 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * 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 (129): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * 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.001406/0.9016, allocations: 0.7836 MB / 0.7929 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003554/0.9052, allocations: 1.895 MB / 0.7947 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.9052, allocations: 4 kB / 0.7947 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.9064, allocations: 0.8286 MB / 0.7955 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003973/0.9104, allocations: 0.9617 MB / 0.7965 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005645/0.916, allocations: 4.384 MB / 0.8007 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009517/0.917, allocations: 1.432 MB / 0.8021 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002139/0.9191, allocations: 0.542 MB / 0.8027 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003831/0.9195, allocations: 187.4 kB / 0.8028 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of SimCode: time 6.11e-07/0.9195, allocations: 0 / 0.8028 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of Templates: time 0.07386/0.9934, allocations: 42.48 MB / 0.8443 GB, free: 1.68 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)