Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0007728/0.0007728, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.0009801/0.0009801, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7371/0.7371, allocations: 132.4 MB / 423.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004151/0.0004151, allocations: 12.91 kB / 0.5034 GB, free: 4.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3833, allocations: 81.57 MB / 0.5831 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.09697/0.4803, allocations: 106.4 MB / 0.6869 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03015/0.5105, allocations: 24.86 MB / 0.7112 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003178/0.5137, allocations: 99.38 kB / 0.7113 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002067/0.5158, allocations: 0.7878 MB / 0.7121 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006346/0.5221, allocations: 2.731 MB / 0.7147 GB, free: 9.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004408/0.5266, allocations: 1.66 MB / 0.7164 GB, free: 7.777 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.007002/0.5336, allocations: 7.015 MB / 0.7232 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002266/0.5358, allocations: 1.414 MB / 0.7246 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004015/0.5399, allocations: 2.127 MB / 0.7267 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002586/0.5425, allocations: 1.622 MB / 0.7283 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004001/0.5429, allocations: 92 kB / 0.7283 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003781/0.5467, allocations: 1.559 MB / 0.7299 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000538/0.5472, allocations: 386.2 kB / 0.7302 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007362/0.548, allocations: 496.5 kB / 0.7307 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00323/0.5512, allocations: 2.864 MB / 0.7335 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.5512, allocations: 0 / 0.7335 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5512, allocations: 0 / 0.7335 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.706e-05/0.5513, allocations: 4 kB / 0.7335 GB, free: 6.141 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.004792/0.5561, allocations: 2.437 MB / 0.7359 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.5561, allocations: 11.97 kB / 0.7359 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006271/0.5568, allocations: 261 kB / 0.7362 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003905/0.5607, allocations: 2.034 MB / 0.7381 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.563e-05/0.5608, allocations: 102.7 kB / 0.7382 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/0.561, allocations: 136 kB / 0.7384 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002376/0.5634, allocations: 1.45 MB / 0.7398 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.674e-05/0.5634, allocations: 4 kB / 0.7398 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.5635, allocations: 52 kB / 0.7398 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-05/0.5636, allocations: 39.94 kB / 0.7399 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001837/0.5654, allocations: 1.021 MB / 0.7409 GB, free: 14.4 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.007789/0.5732, allocations: 8.147 MB / 0.7488 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.5746, allocations: 0.829 MB / 0.7496 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005738/0.5752, allocations: 376.5 kB / 0.75 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001797/0.577, allocations: 2.811 MB / 0.7527 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.5771, allocations: 43.22 kB / 0.7528 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 2.805e-06/0.5771, allocations: 0 / 0.7528 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.001959/0.579, allocations: 1.14 MB / 0.7539 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.5791, allocations: 60.06 kB / 0.754 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/0.581, allocations: 1.59 MB / 0.7555 GB, free: 14 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.248e-05/0.5811, allocations: 45.7 kB / 0.7555 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000657/0.5817, allocations: 0.9238 MB / 0.7565 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002404/0.582, allocations: 311.5 kB / 0.7567 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.582, allocations: 24 kB / 0.7568 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.5821, allocations: 341.9 kB / 0.7571 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005601/0.5827, allocations: 322.4 kB / 0.7574 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007828/0.5835, allocations: 0.7071 MB / 0.7581 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007222/0.5842, allocations: 443.5 kB / 0.7585 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.319e-06/0.5843, allocations: 4 kB / 0.7585 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001934/0.5862, allocations: 1.241 MB / 0.7597 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002425/0.5865, allocations: 449.2 kB / 0.7602 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.837e-05/0.5865, allocations: 12 kB / 0.7602 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/0.5865, allocations: 20 kB / 0.7602 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007913/0.5873, allocations: 267.6 kB / 0.7604 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.687e-05/0.5874, allocations: 31.8 kB / 0.7605 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.5884, allocations: 182.6 kB / 0.7607 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.5885, allocations: 63.97 kB / 0.7607 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.273e-06/0.5885, allocations: 4 kB / 0.7607 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00169/0.5902, allocations: 1.051 MB / 0.7617 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.931e-05/0.5903, allocations: 20.03 kB / 0.7618 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.5903, allocations: 16 kB / 0.7618 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007647/0.5911, allocations: 263.5 kB / 0.762 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.181e-05/0.5911, allocations: 27.92 kB / 0.7621 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009845/0.5921, allocations: 170.9 kB / 0.7622 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.8e-05/0.5922, allocations: 59.98 kB / 0.7623 GB, free: 6.695 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005839/0.5928, allocations: 484.6 kB / 0.7627 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/0.593, allocations: 193.7 kB / 0.7629 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002826/0.5959, allocations: 1.735 MB / 0.7646 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.231e-05/0.5959, allocations: 31.97 kB / 0.7646 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.5959, allocations: 0 / 0.7646 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001582/0.5975, allocations: 1.142 MB / 0.7658 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004746/0.6023, allocations: 3.478 MB / 0.7692 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.482e-05/0.6023, allocations: 12.81 kB / 0.7692 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006985/0.603, allocations: 207.7 kB / 0.7694 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.578e-05/0.603, allocations: 12 kB / 0.7694 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.679e-05/0.6031, allocations: 43.98 kB / 0.7694 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-05/0.6031, allocations: 15.92 kB / 0.7694 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.6032, allocations: 8 kB / 0.7694 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002971/0.6061, allocations: 2.234 MB / 0.7716 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006457/0.6068, allocations: 481.8 kB / 0.7721 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002317/0.607, allocations: 28 kB / 0.7721 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009118/0.6079, allocations: 107.8 kB / 0.7722 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.6081, allocations: 112.8 kB / 0.7723 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.997e-05/0.6082, allocations: 59.95 kB / 0.7724 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001375/0.6096, allocations: 1.064 MB / 0.7734 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.543e-06/0.6096, allocations: 0 / 0.7734 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002572/0.6122, allocations: 1.119 MB / 0.7745 GB, free: 9.824 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001289/0.6135, allocations: 0.751 MB / 0.7752 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002617/0.6161, allocations: 1.796 MB / 0.777 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.6161, allocations: 0 / 0.777 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.6173, allocations: 0.8275 MB / 0.7778 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003643/0.6209, allocations: 0.9336 MB / 0.7787 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005407/0.6263, allocations: 4.391 MB / 0.783 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009399/0.6273, allocations: 1.44 MB / 0.7844 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001852/0.6291, allocations: 0.5388 MB / 0.7849 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003644/0.6295, allocations: 191.3 kB / 0.7851 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of SimCode: time 3.6e-07/0.6295, allocations: 0 / 0.7851 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of Templates: time 0.305/0.9345, allocations: 39.84 MB / 0.824 GB, free: 199.5 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)