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.001481/0.001481, allocations: 108 kB / 15.61 MB, free: 152 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.001826/0.001826, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.428/1.428, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9865/0.9865, allocations: 135.1 MB / 425.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 61.22 kB / 0.5053 GB, free: 5.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2081, allocations: 80.93 MB / 0.5844 GB, free: 4.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.4355/0.6436, allocations: 115.1 MB / 0.6968 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.04536/0.689, allocations: 26.52 MB / 0.7227 GB, free: 9.062 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008356/0.6974, allocations: 115 kB / 0.7228 GB, free: 9.023 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005499/0.7029, allocations: 1.146 MB / 0.7239 GB, free: 8.293 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0124/0.7154, allocations: 3.417 MB / 0.7273 GB, free: 6.094 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.008502/0.7239, allocations: 2.339 MB / 0.7296 GB, free: 4.281 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01143/0.7354, allocations: 6.175 MB / 0.7356 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003602/0.739, allocations: 1.929 MB / 0.7375 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01022/0.7493, allocations: 2.645 MB / 0.74 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005004/0.7543, allocations: 1.771 MB / 0.7418 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001187/0.7555, allocations: 219.9 kB / 0.742 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007169/0.7627, allocations: 2.341 MB / 0.7443 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001023/0.7638, allocations: 0.5332 MB / 0.7448 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003011/0.7668, allocations: 1.283 MB / 0.746 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.009123/0.7759, allocations: 4.063 MB / 0.75 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.776, allocations: 3.938 kB / 0.75 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.204e-06/0.776, allocations: 0 / 0.75 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.36e-05/0.7761, allocations: 0 / 0.75 GB, free: 4.625 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.005687/0.7818, allocations: 2.842 MB / 0.7528 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.7818, allocations: 8.031 kB / 0.7528 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007723/0.7826, allocations: 253.1 kB / 0.753 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004209/0.7868, allocations: 2.069 MB / 0.7551 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.023e-05/0.7869, allocations: 102.7 kB / 0.7552 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/0.7871, allocations: 135.9 kB / 0.7553 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002424/0.7896, allocations: 1.458 MB / 0.7567 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.475e-05/0.7896, allocations: 3.938 kB / 0.7567 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.7897, allocations: 60 kB / 0.7568 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.175e-05/0.7898, allocations: 35.98 kB / 0.7568 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.7917, allocations: 1.021 MB / 0.7578 GB, free: 12.45 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.008602/0.8003, allocations: 8.182 MB / 0.7658 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.8018, allocations: 0.8348 MB / 0.7666 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005852/0.8024, allocations: 373 kB / 0.767 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002082/0.8045, allocations: 2.807 MB / 0.7697 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.8045, allocations: 43.22 kB / 0.7698 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 4.228e-06/0.8046, allocations: 0 / 0.7698 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.002367/0.8069, allocations: 1.128 MB / 0.7709 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.807, allocations: 64 kB / 0.7709 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/0.809, allocations: 1.625 MB / 0.7725 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.509e-05/0.8091, allocations: 41.7 kB / 0.7725 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007202/0.8098, allocations: 0.9315 MB / 0.7735 GB, free: 11 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002669/0.8101, allocations: 307.6 kB / 0.7737 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003077/0.8104, allocations: 230.6 kB / 0.774 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.8105, allocations: 349.9 kB / 0.7743 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005806/0.8111, allocations: 333.9 kB / 0.7746 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009198/0.8121, allocations: 0.7071 MB / 0.7753 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001691/0.8138, allocations: 1.081 MB / 0.7764 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.8138, allocations: 4 kB / 0.7764 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002746/0.8165, allocations: 1.242 MB / 0.7776 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.8166, allocations: 12.19 kB / 0.7776 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-05/0.8166, allocations: 19.98 kB / 0.7776 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.724e-05/0.8166, allocations: 20 kB / 0.7776 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007963/0.8174, allocations: 259.5 kB / 0.7779 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.441e-05/0.8175, allocations: 27.88 kB / 0.7779 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.8187, allocations: 142.6 kB / 0.778 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/0.8188, allocations: 63.98 kB / 0.7781 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001267/0.8201, allocations: 0.6197 MB / 0.7787 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008863/0.821, allocations: 0.711 MB / 0.7794 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001524/0.8225, allocations: 1.073 MB / 0.7804 GB, free: 3.145 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.951e-06/0.8225, allocations: 4 kB / 0.7805 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.00229/0.8248, allocations: 1.249 MB / 0.7817 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.8248, allocations: 13.72 kB / 0.7817 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.887e-05/0.8249, allocations: 16 kB / 0.7817 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.8249, allocations: 16 kB / 0.7817 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007881/0.8257, allocations: 259.5 kB / 0.782 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.908e-05/0.8257, allocations: 23.92 kB / 0.782 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.8268, allocations: 103.4 kB / 0.7821 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.8269, allocations: 71.97 kB / 0.7822 GB, free: 1.387 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.0002925/0.8272, allocations: 251.8 kB / 0.7824 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003422/0.8275, allocations: 189.7 kB / 0.7826 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003076/0.8306, allocations: 1.737 MB / 0.7843 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.922e-05/0.8306, allocations: 23.97 kB / 0.7843 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.8307, allocations: 3.938 kB / 0.7843 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001742/0.8324, allocations: 1.146 MB / 0.7854 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005335/0.8378, allocations: 3.49 MB / 0.7888 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-05/0.8378, allocations: 8 kB / 0.7888 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007048/0.8385, allocations: 204.4 kB / 0.789 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.429e-05/0.8385, allocations: 16 kB / 0.789 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.442e-05/0.8386, allocations: 39.98 kB / 0.7891 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.291e-05/0.8386, allocations: 15.92 kB / 0.7891 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.8386, allocations: 8 kB / 0.7891 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003852/0.8425, allocations: 2.234 MB / 0.7913 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001432/0.844, allocations: 434.1 kB / 0.7917 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003098/0.8443, allocations: 32 kB / 0.7917 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000945/0.8452, allocations: 49.53 kB / 0.7918 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002083/0.8455, allocations: 116.7 kB / 0.7919 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001217/0.8456, allocations: 63.97 kB / 0.7919 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001742/0.8473, allocations: 1.087 MB / 0.793 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8473, allocations: 0 / 0.793 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003272/0.8506, allocations: 1.146 MB / 0.7941 GB, free: 4.789 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.001498/0.8521, allocations: 0.7915 MB / 0.7949 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003794/0.8559, allocations: 1.898 MB / 0.7968 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.856, allocations: 4 kB / 0.7968 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001175/0.8571, allocations: 0.8229 MB / 0.7976 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004279/0.8614, allocations: 0.9593 MB / 0.7985 GB, free: 272 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005292/0.8667, allocations: 3.63 MB / 0.802 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009522/0.8677, allocations: 1.44 MB / 0.8034 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001993/0.8697, allocations: 0.5387 MB / 0.804 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003619/0.8701, allocations: 187.3 kB / 0.8042 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of SimCode: time 4.61e-07/0.8701, allocations: 0 / 0.8042 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of Templates: time 0.07249/0.9426, allocations: 43.04 MB / 0.8462 GB, free: 15.8 MB / 0.67 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)