Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.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.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008854/0.0008855, allocations: 103 kB / 15.06 MB, free: 1.098 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.0009316/0.0009317, allocations: 173.3 kB / 15.95 MB, free: 212 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.212/1.212, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8719/0.8719, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000294/0.0002941, allocations: 11.98 kB / 0.5068 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1441, allocations: 82.31 MB / 0.5872 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.4063/0.5504, allocations: 135.5 MB / 0.7195 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001758/0.5522, allocations: 0.9661 MB / 0.7204 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.5524, allocations: 8.031 kB / 0.7204 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005875/0.553, allocations: 173.7 kB / 0.7206 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009981/0.554, allocations: 420 kB / 0.721 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006614/0.5547, allocations: 267.6 kB / 0.7212 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004128/0.5551, allocations: 314.4 kB / 0.7215 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003373/0.5554, allocations: 155.9 kB / 0.7217 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000556/0.556, allocations: 252.1 kB / 0.7219 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.5562, allocations: 103.2 kB / 0.722 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.5562, allocations: 8.531 kB / 0.722 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005296/0.5567, allocations: 248.8 kB / 0.7223 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.63e-05/0.5568, allocations: 68.56 kB / 0.7223 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.411e-05/0.5569, allocations: 63.52 kB / 0.7224 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004015/0.5573, allocations: 278.4 kB / 0.7227 GB, free: 10.38 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.5573, allocations: 0 / 0.7227 GB, free: 10.38 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5573, allocations: 0.7031 kB / 0.7227 GB, free: 10.38 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.5573, allocations: 0 / 0.7227 GB, free: 10.38 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001294/0.5586, allocations: 0.5456 MB / 0.7232 GB, free: 9.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.5587, allocations: 13.22 kB / 0.7232 GB, free: 9.926 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002489/0.5589, allocations: 51.19 kB / 0.7233 GB, free: 9.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003547/0.5593, allocations: 261.1 kB / 0.7235 GB, free: 9.676 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.5593, allocations: 15.59 kB / 0.7235 GB, free: 9.668 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.649e-05/0.5594, allocations: 20.05 kB / 0.7235 GB, free: 9.66 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005165/0.5599, allocations: 239 kB / 0.7238 GB, free: 9.57 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.5599, allocations: 1.125 kB / 0.7238 GB, free: 9.57 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.5599, allocations: 9.062 kB / 0.7238 GB, free: 9.562 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.429e-05/0.56, allocations: 13.59 kB / 0.7238 GB, free: 9.559 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006052/0.5606, allocations: 262.1 kB / 0.7241 GB, free: 9.484 MB / 0.545 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.001183/0.5618, allocations: 0.7852 MB / 0.7248 GB, free: 8.91 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/0.5621, allocations: 147.1 kB / 0.725 GB, free: 8.852 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.491e-05/0.5622, allocations: 10.55 kB / 0.725 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.5622, allocations: 31.25 kB / 0.725 GB, free: 8.809 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.5622, allocations: 4 kB / 0.725 GB, free: 8.805 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0008312/0.563, allocations: 321 kB / 0.7253 GB, free: 8.691 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.5631, allocations: 58.45 kB / 0.7254 GB, free: 8.625 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.5633, allocations: 240.7 kB / 0.7256 GB, free: 8.484 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.5634, allocations: 26.83 kB / 0.7256 GB, free: 8.453 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.418e-05/0.5635, allocations: 138.3 kB / 0.7258 GB, free: 8.332 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.49e-05/0.5635, allocations: 45.62 kB / 0.7258 GB, free: 8.297 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/0.5635, allocations: 5.625 kB / 0.7258 GB, free: 8.293 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.5637, allocations: 334.1 kB / 0.7261 GB, free: 7.969 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.5638, allocations: 72.98 kB / 0.7262 GB, free: 7.949 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.5641, allocations: 107.4 kB / 0.7263 GB, free: 7.902 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.5643, allocations: 84.81 kB / 0.7264 GB, free: 7.875 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5643, allocations: 0 / 0.7264 GB, free: 7.875 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004349/0.5647, allocations: 225.2 kB / 0.7266 GB, free: 7.781 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.5647, allocations: 9.844 kB / 0.7266 GB, free: 7.777 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.5648, allocations: 0 / 0.7266 GB, free: 7.777 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.5648, allocations: 1.906 kB / 0.7266 GB, free: 7.777 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.565, allocations: 35.52 kB / 0.7266 GB, free: 7.773 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.565, allocations: 1.906 kB / 0.7266 GB, free: 7.773 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.5652, allocations: 29.28 kB / 0.7267 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.5652, allocations: 6.609 kB / 0.7267 GB, free: 7.762 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001353/0.5653, allocations: 146.2 kB / 0.7268 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.5654, allocations: 22 kB / 0.7268 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.632e-05/0.5655, allocations: 35.2 kB / 0.7269 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.5655, allocations: 2.375 kB / 0.7269 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.5655, allocations: 0 / 0.7269 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.5655, allocations: 6.25 kB / 0.7269 GB, free: 7.586 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.5666, allocations: 0.6892 MB / 0.7275 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.5666, allocations: 2.594 kB / 0.7275 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.5667, allocations: 31.12 kB / 0.7276 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.5667, allocations: 3.188 kB / 0.7276 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.5668, allocations: 8.031 kB / 0.7276 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/0.5668, allocations: 10.3 kB / 0.7276 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.5668, allocations: 7.656 kB / 0.7276 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005559/0.5674, allocations: 445.3 kB / 0.728 GB, free: 6.707 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.5675, allocations: 112.5 kB / 0.7281 GB, free: 6.598 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.368e-05/0.5675, allocations: 12.41 kB / 0.7281 GB, free: 6.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.5677, allocations: 19.3 kB / 0.7282 GB, free: 6.582 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.569e-05/0.5678, allocations: 14.84 kB / 0.7282 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.5678, allocations: 5.297 kB / 0.7282 GB, free: 6.578 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001722/0.568, allocations: 177.9 kB / 0.7284 GB, free: 6.477 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.21e-07/0.568, allocations: 4 kB / 0.7284 GB, free: 6.473 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003503/0.5683, allocations: 58.5 kB / 0.7284 GB, free: 6.465 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0003433/0.5687, allocations: 155.3 kB / 0.7286 GB, free: 6.363 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004654/0.5692, allocations: 178.5 kB / 0.7287 GB, free: 6.316 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5692, allocations: 1.406 kB / 0.7287 GB, free: 6.316 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002101/0.5694, allocations: 100.4 kB / 0.7288 GB, free: 6.289 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006211/0.57, allocations: 122.1 kB / 0.7289 GB, free: 6.258 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007112/0.5707, allocations: 0.5041 MB / 0.7294 GB, free: 5.898 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.5711, allocations: 0.7563 MB / 0.7302 GB, free: 5.199 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002114/0.5713, allocations: 65.17 kB / 0.7302 GB, free: 5.184 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.015e-05/0.5714, allocations: 21.12 kB / 0.7303 GB, free: 5.176 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.5714, allocations: 0 / 0.7303 GB, free: 5.176 MB / 0.545 GB Notification: Performance of Templates: time 0.00829/0.5797, allocations: 4.055 MB / 0.7342 GB, free: 4.93 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) Environment - environmentSimulation: