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.001187/0.001187, allocations: 115.3 kB / 16.42 MB, free: 6.016 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.00121/0.00121, allocations: 192.9 kB / 17.35 MB, free: 5.617 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8044/0.8044, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.34 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1601, allocations: 80.92 MB / 0.6653 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.4809/0.641, allocations: 115.2 MB / 0.7778 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03314/0.6742, allocations: 26.51 MB / 0.8036 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005616/0.6799, allocations: 118.8 kB / 0.8038 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003248/0.6832, allocations: 1.169 MB / 0.8049 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009499/0.6927, allocations: 3.589 MB / 0.8084 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005946/0.6987, allocations: 2.358 MB / 0.8107 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007901/0.7066, allocations: 6.207 MB / 0.8168 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003336/0.7099, allocations: 1.926 MB / 0.8186 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006841/0.7168, allocations: 2.703 MB / 0.8213 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00385/0.7206, allocations: 1.769 MB / 0.823 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007902/0.7215, allocations: 220.2 kB / 0.8232 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00643/0.7279, allocations: 2.343 MB / 0.8255 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008502/0.7288, allocations: 0.5391 MB / 0.826 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002609/0.7314, allocations: 1.282 MB / 0.8273 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008543/0.7399, allocations: 4.124 MB / 0.8313 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.74, allocations: 0 / 0.8313 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.934e-06/0.74, allocations: 0 / 0.8313 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001275/0.7401, allocations: 0 / 0.8313 GB, free: 6.113 MB / 0.5919 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.007411/0.7475, allocations: 2.923 MB / 0.8342 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.7476, allocations: 11.73 kB / 0.8342 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.7487, allocations: 270.6 kB / 0.8344 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005247/0.754, allocations: 2.154 MB / 0.8365 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.365e-05/0.7541, allocations: 102.1 kB / 0.8366 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/0.7543, allocations: 139.3 kB / 0.8368 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002443/0.7567, allocations: 1.466 MB / 0.8382 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.856e-05/0.7568, allocations: 7.891 kB / 0.8382 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/0.7569, allocations: 56 kB / 0.8383 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.07e-05/0.757, allocations: 36 kB / 0.8383 GB, free: 0.6523 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/0.7588, allocations: 1.021 MB / 0.8393 GB, free: 15.62 MB / 0.6075 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.009091/0.7679, allocations: 8.137 MB / 0.8472 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.7694, allocations: 0.838 MB / 0.8481 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005696/0.77, allocations: 388 kB / 0.8484 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002117/0.7721, allocations: 2.799 MB / 0.8512 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.7721, allocations: 47.2 kB / 0.8512 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=85): time 2.826e-06/0.7722, allocations: 0 / 0.8512 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85): time 0.002325/0.7745, allocations: 1.137 MB / 0.8523 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.7745, allocations: 60.06 kB / 0.8524 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002053/0.7766, allocations: 1.625 MB / 0.854 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.307e-05/0.7767, allocations: 41.7 kB / 0.854 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006989/0.7774, allocations: 0.949 MB / 0.8549 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/0.7776, allocations: 313.3 kB / 0.8552 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003117/0.778, allocations: 230.8 kB / 0.8555 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.7781, allocations: 349.9 kB / 0.8558 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005626/0.7787, allocations: 325.9 kB / 0.8561 GB, free: 13 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008698/0.7796, allocations: 0.7033 MB / 0.8568 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/0.7811, allocations: 1.093 MB / 0.8579 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.7812, allocations: 4 kB / 0.8579 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002222/0.7834, allocations: 1.261 MB / 0.8591 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.7834, allocations: 10.19 kB / 0.8591 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.043e-05/0.7835, allocations: 16 kB / 0.8591 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.098e-05/0.7835, allocations: 20.73 kB / 0.8591 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008381/0.7843, allocations: 267.5 kB / 0.8594 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.48e-05/0.7844, allocations: 27.86 kB / 0.8594 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/0.7855, allocations: 139 kB / 0.8595 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.7856, allocations: 63.97 kB / 0.8596 GB, free: 9.09 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001074/0.7867, allocations: 0.6301 MB / 0.8602 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008799/0.7876, allocations: 0.6994 MB / 0.8609 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001522/0.7891, allocations: 1.085 MB / 0.862 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.14e-06/0.7892, allocations: 7.938 kB / 0.862 GB, free: 6.332 MB / 0.6231 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002128/0.7913, allocations: 1.246 MB / 0.8632 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.7913, allocations: 8.188 kB / 0.8632 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.766e-05/0.7914, allocations: 23.98 kB / 0.8632 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.7914, allocations: 20 kB / 0.8632 GB, free: 5.027 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000803/0.7922, allocations: 255.6 kB / 0.8635 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.093e-05/0.7922, allocations: 23.88 kB / 0.8635 GB, free: 4.754 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.7933, allocations: 115.2 kB / 0.8636 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.7934, allocations: 63.98 kB / 0.8637 GB, free: 4.578 MB / 0.6231 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.0003311/0.7938, allocations: 259.9 kB / 0.8639 GB, free: 4.316 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003197/0.7941, allocations: 202.7 kB / 0.8641 GB, free: 4.117 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003007/0.7971, allocations: 1.729 MB / 0.8658 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001664/0.7988, allocations: 1.138 MB / 0.8669 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.166e-05/0.7988, allocations: 7.984 kB / 0.8669 GB, free: 1.191 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007649/0.7996, allocations: 439.1 kB / 0.8673 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002489/0.7999, allocations: 24 kB / 0.8674 GB, free: 0.7188 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007308/0.8006, allocations: 35.97 kB / 0.8674 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/0.8008, allocations: 92.86 kB / 0.8675 GB, free: 0.5938 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002208/0.803, allocations: 1.323 MB / 0.8688 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003037/0.806, allocations: 2.127 MB / 0.8709 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007909/0.8069, allocations: 0.5626 MB / 0.8714 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001568/0.8084, allocations: 1.091 MB / 0.8725 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of Backend: time 3.21e-07/0.8084, allocations: 4 kB / 0.8725 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00473/0.8132, allocations: 2.192 MB / 0.8746 GB, free: 9.203 MB / 0.6387 GB Notification: Performance of SimCode: time 0.007124/0.8203, allocations: 4.377 MB / 0.8789 GB, free: 4.75 MB / 0.6387 GB Notification: Performance of Templates: time 0.0735/0.8938, allocations: 45.12 MB / 0.923 GB, free: 8.016 MB / 0.6856 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)