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.005835/0.005834, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001312/0.001312, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.509/1.509, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.094/1.094, allocations: 135.1 MB / 425.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 63.89 kB / 0.5856 GB, free: 3.387 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5503/0.5518, allocations: 80.91 MB / 0.6646 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1129/0.6647, allocations: 115.2 MB / 0.7771 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03886/0.7036, allocations: 26.51 MB / 0.803 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007263/0.7109, allocations: 119.3 kB / 0.8031 GB, free: 3.5 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005212/0.7162, allocations: 1.18 MB / 0.8042 GB, free: 2.312 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01409/0.7304, allocations: 3.586 MB / 0.8077 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007524/0.7379, allocations: 2.382 MB / 0.8101 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009461/0.7474, allocations: 6.187 MB / 0.8161 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004558/0.752, allocations: 1.929 MB / 0.818 GB, free: 4.168 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009232/0.7613, allocations: 2.702 MB / 0.8206 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004957/0.7663, allocations: 1.77 MB / 0.8224 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001139/0.7674, allocations: 224 kB / 0.8226 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006929/0.7744, allocations: 2.336 MB / 0.8249 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001209/0.7756, allocations: 0.541 MB / 0.8254 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004033/0.7797, allocations: 1.287 MB / 0.8266 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01205/0.7918, allocations: 4.107 MB / 0.8306 GB, free: 7.172 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.325e-05/0.7918, allocations: 0 / 0.8306 GB, free: 7.172 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.807e-06/0.7919, allocations: 0 / 0.8306 GB, free: 7.172 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002054/0.7921, allocations: 0 / 0.8306 GB, free: 7.172 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: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.01111/0.8032, allocations: 2.83 MB / 0.8334 GB, free: 4.281 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.281e-05/0.8033, allocations: 8.031 kB / 0.8334 GB, free: 4.273 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/0.8047, allocations: 261 kB / 0.8337 GB, free: 4.016 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008892/0.8136, allocations: 2.142 MB / 0.8358 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002127/0.8139, allocations: 102.7 kB / 0.8359 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007189/0.8146, allocations: 143.9 kB / 0.836 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006208/0.8209, allocations: 1.45 MB / 0.8374 GB, free: 52 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.812e-05/0.821, allocations: 4 kB / 0.8374 GB, free: 48 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004/0.8214, allocations: 52.08 kB / 0.8375 GB, free: 15.99 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.684e-05/0.8216, allocations: 36 kB / 0.8375 GB, free: 15.96 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004199/0.8258, allocations: 1.029 MB / 0.8385 GB, free: 14.92 MB / 0.67 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.01922/0.8451, allocations: 8.135 MB / 0.8464 GB, free: 6.094 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002989/0.8481, allocations: 0.8256 MB / 0.8473 GB, free: 5.242 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/0.8494, allocations: 380.7 kB / 0.8476 GB, free: 4.871 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003829/0.8532, allocations: 2.807 MB / 0.8504 GB, free: 1.438 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.447e-05/0.8534, allocations: 43.22 kB / 0.8504 GB, free: 1.387 MB / 0.67 GB Notification: Performance of pre-optimization done (n=85): time 5.37e-06/0.8534, allocations: 0 / 0.8504 GB, free: 1.387 MB / 0.67 GB Notification: Performance of matching and sorting (n=85): time 0.005041/0.8584, allocations: 1.128 MB / 0.8515 GB, free: 264 kB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.15e-05/0.8586, allocations: 71.98 kB / 0.8516 GB, free: 180 kB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005717/0.8643, allocations: 1.614 MB / 0.8531 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002719/0.8646, allocations: 41.7 kB / 0.8532 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.00149/0.8661, allocations: 0.9354 MB / 0.8541 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007256/0.8669, allocations: 303.6 kB / 0.8544 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008035/0.8677, allocations: 234.6 kB / 0.8546 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002381/0.868, allocations: 350.6 kB / 0.8549 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.8693, allocations: 333.9 kB / 0.8553 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001869/0.8712, allocations: 0.7033 MB / 0.856 GB, free: 11.44 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003197/0.8744, allocations: 1.085 MB / 0.857 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.129e-05/0.8744, allocations: 4 kB / 0.857 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.005058/0.8795, allocations: 1.249 MB / 0.8582 GB, free: 8.93 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.059e-05/0.8796, allocations: 15.94 kB / 0.8583 GB, free: 8.914 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.638e-05/0.8797, allocations: 19.94 kB / 0.8583 GB, free: 8.895 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.031e-05/0.8797, allocations: 16 kB / 0.8583 GB, free: 8.879 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/0.8814, allocations: 263.6 kB / 0.8585 GB, free: 8.621 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.293e-05/0.8815, allocations: 23.92 kB / 0.8586 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0025/0.884, allocations: 134.6 kB / 0.8587 GB, free: 8.465 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002317/0.8842, allocations: 67.97 kB / 0.8588 GB, free: 8.398 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002181/0.8864, allocations: 0.6235 MB / 0.8594 GB, free: 7.77 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001786/0.8882, allocations: 0.6994 MB / 0.86 GB, free: 6.902 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002757/0.891, allocations: 1.081 MB / 0.8611 GB, free: 5.664 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.361e-05/0.891, allocations: 4 kB / 0.8611 GB, free: 5.66 MB / 0.6856 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.004704/0.8958, allocations: 1.245 MB / 0.8623 GB, free: 4.402 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.196e-05/0.8958, allocations: 11.94 kB / 0.8623 GB, free: 4.391 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.825e-05/0.8959, allocations: 19.98 kB / 0.8624 GB, free: 4.371 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.261e-05/0.896, allocations: 23.94 kB / 0.8624 GB, free: 4.348 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/0.8976, allocations: 255.6 kB / 0.8626 GB, free: 4.098 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.637e-05/0.8977, allocations: 20.25 kB / 0.8626 GB, free: 4.078 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002452/0.9001, allocations: 107.2 kB / 0.8627 GB, free: 3.973 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002318/0.9004, allocations: 63.98 kB / 0.8628 GB, free: 3.91 MB / 0.6856 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.0005713/0.901, allocations: 251.9 kB / 0.863 GB, free: 3.656 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001137/0.9021, allocations: 189.7 kB / 0.8632 GB, free: 3.469 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006087/0.9082, allocations: 1.736 MB / 0.8649 GB, free: 1.719 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.64e-05/0.9083, allocations: 27.97 kB / 0.8649 GB, free: 1.691 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.859e-05/0.9084, allocations: 11.88 kB / 0.865 GB, free: 1.68 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003244/0.9116, allocations: 1.142 MB / 0.8661 GB, free: 0.5039 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4307/1.342, allocations: 3.478 MB / 0.8695 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.683e-05/1.342, allocations: 12.09 kB / 0.8695 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007736/1.343, allocations: 200.2 kB / 0.8697 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.818e-05/1.343, allocations: 11.09 kB / 0.8697 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.765e-05/1.343, allocations: 45.47 kB / 0.8697 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.782e-05/1.343, allocations: 16.55 kB / 0.8697 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/1.343, allocations: 8.531 kB / 0.8697 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004056/1.347, allocations: 2.233 MB / 0.8719 GB, free: 183.9 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/1.349, allocations: 436.5 kB / 0.8723 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000361/1.349, allocations: 34.23 kB / 0.8724 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/1.35, allocations: 48.67 kB / 0.8724 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002738/1.35, allocations: 121.1 kB / 0.8725 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/1.35, allocations: 56.98 kB / 0.8726 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002115/1.353, allocations: 1.095 MB / 0.8737 GB, free: 183.2 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.3e-07/1.353, allocations: 0.875 kB / 0.8737 GB, free: 183.2 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004301/1.357, allocations: 1.128 MB / 0.8748 GB, free: 183.1 MB / 0.6856 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.002154/1.359, allocations: 0.7908 MB / 0.8755 GB, free: 182.9 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003494/1.363, allocations: 1.814 MB / 0.8773 GB, free: 182.2 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/1.363, allocations: 1.344 kB / 0.8773 GB, free: 182.2 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00125/1.364, allocations: 0.8219 MB / 0.8781 GB, free: 181.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00471/1.369, allocations: 0.9674 MB / 0.8791 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006109/1.375, allocations: 3.568 MB / 0.8825 GB, free: 179.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/1.376, allocations: 1.439 MB / 0.8839 GB, free: 178.9 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002494/1.378, allocations: 0.531 MB / 0.8845 GB, free: 178.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004315/1.379, allocations: 190.7 kB / 0.8846 GB, free: 178.8 MB / 0.6856 GB Notification: Performance of SimCode: time 2.224e-06/1.379, allocations: 6.891 kB / 0.8847 GB, free: 178.7 MB / 0.6856 GB Notification: Performance of Templates: time 0.06732/1.446, allocations: 43.35 MB / 0.927 GB, free: 146.8 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)