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.0009212/0.0009213, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.006293/0.006293, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.562/1.562, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9817/0.9817, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003893/0.0003893, allocations: 8.625 kB / 0.5076 GB, free: 4.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2093, allocations: 82.31 MB / 0.588 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.6454/0.8547, allocations: 157 MB / 0.7413 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002559/0.8573, allocations: 0.9448 MB / 0.7422 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00031/0.8577, allocations: 8.094 kB / 0.7422 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007061/0.8584, allocations: 130.2 kB / 0.7424 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002456/0.8609, allocations: 0.6093 MB / 0.7429 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008515/0.8617, allocations: 192.9 kB / 0.7431 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0013/0.863, allocations: 0.7392 MB / 0.7439 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000413/0.8635, allocations: 155 kB / 0.744 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005928/0.8641, allocations: 217.7 kB / 0.7442 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.8643, allocations: 164.5 kB / 0.7444 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.148e-05/0.8644, allocations: 8.875 kB / 0.7444 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001719/0.8661, allocations: 0.6337 MB / 0.745 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.8663, allocations: 79.19 kB / 0.7451 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001941/0.8665, allocations: 139.1 kB / 0.7452 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.8675, allocations: 0.5097 MB / 0.7457 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.8675, allocations: 0 / 0.7457 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8676, allocations: 0 / 0.7457 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.8676, allocations: 5.375 kB / 0.7457 GB, free: 7.84 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001605/0.8692, allocations: 0.5457 MB / 0.7462 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/0.8692, allocations: 9.625 kB / 0.7462 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003354/0.8696, allocations: 54.12 kB / 0.7463 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004767/0.8701, allocations: 279.3 kB / 0.7466 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.8701, allocations: 11.2 kB / 0.7466 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.657e-05/0.8702, allocations: 15 kB / 0.7466 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006523/0.8708, allocations: 244.8 kB / 0.7468 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.8709, allocations: 0 / 0.7468 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.8709, allocations: 14.64 kB / 0.7468 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-05/0.8709, allocations: 15.05 kB / 0.7468 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007471/0.8717, allocations: 264.3 kB / 0.7471 GB, free: 6.863 MB / 0.5606 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.001424/0.8731, allocations: 0.8397 MB / 0.7479 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004154/0.8735, allocations: 147.9 kB / 0.7481 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002502/0.8738, allocations: 113.4 kB / 0.7482 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003598/0.8742, allocations: 193.5 kB / 0.7484 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.8742, allocations: 43.81 kB / 0.7484 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.753e-06/0.8742, allocations: 0 / 0.7484 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0009012/0.8751, allocations: 317.6 kB / 0.7487 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.8752, allocations: 52.59 kB / 0.7487 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/0.8755, allocations: 244 kB / 0.749 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.8755, allocations: 27.05 kB / 0.749 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.8757, allocations: 134.8 kB / 0.7491 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.491e-05/0.8757, allocations: 49.52 kB / 0.7492 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.8758, allocations: 17.66 kB / 0.7492 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.8759, allocations: 331.9 kB / 0.7495 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.8762, allocations: 75.95 kB / 0.7496 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.8765, allocations: 117.6 kB / 0.7497 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004116/0.8769, allocations: 176.5 kB / 0.7499 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.8769, allocations: 0 / 0.7499 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005465/0.8775, allocations: 227.2 kB / 0.7501 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.8775, allocations: 10.09 kB / 0.7501 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.8775, allocations: 3.984 kB / 0.7501 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.8775, allocations: 2.5 kB / 0.7501 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.8778, allocations: 42.41 kB / 0.7501 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.8778, allocations: 0 / 0.7501 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.878, allocations: 33.08 kB / 0.7502 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.8781, allocations: 5.75 kB / 0.7502 GB, free: 4.461 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001752/0.8782, allocations: 139.6 kB / 0.7503 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.78e-05/0.8783, allocations: 26.62 kB / 0.7503 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.8784, allocations: 35.52 kB / 0.7504 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.8784, allocations: 1.781 kB / 0.7504 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.8784, allocations: 4 kB / 0.7504 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.8785, allocations: 11.27 kB / 0.7504 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/0.8798, allocations: 0.6772 MB / 0.751 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.8799, allocations: 3.562 kB / 0.7511 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.88, allocations: 36.59 kB / 0.7511 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.88, allocations: 3.312 kB / 0.7511 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.8801, allocations: 11.09 kB / 0.7511 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/0.8801, allocations: 7.094 kB / 0.7511 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.8801, allocations: 3.984 kB / 0.7511 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006875/0.8808, allocations: 356.9 kB / 0.7515 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.8809, allocations: 116.9 kB / 0.7516 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.881, allocations: 2.562 kB / 0.7516 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.8811, allocations: 18.73 kB / 0.7516 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.107e-05/0.8812, allocations: 14.27 kB / 0.7516 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.8812, allocations: 10.84 kB / 0.7516 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001927/0.8814, allocations: 179.9 kB / 0.7518 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8814, allocations: 0 / 0.7518 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003978/0.8818, allocations: 65.69 kB / 0.7518 GB, free: 3.113 MB / 0.5606 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 (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.0004687/0.8823, allocations: 157.7 kB / 0.752 GB, free: 3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004631/0.8828, allocations: 170.7 kB / 0.7522 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.8828, allocations: 128 / 0.7522 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.883, allocations: 111.3 kB / 0.7523 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008301/0.8839, allocations: 119.8 kB / 0.7524 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.885, allocations: 0.5214 MB / 0.7529 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005674/0.8855, allocations: 0.7521 MB / 0.7536 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002308/0.8858, allocations: 63.17 kB / 0.7537 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.8859, allocations: 20.56 kB / 0.7537 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.8859, allocations: 0 / 0.7537 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of Templates: time 0.009523/0.8954, allocations: 4.183 MB / 0.7578 GB, free: 14.29 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.makefile (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)