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.001328/0.001328, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001272/0.001272, allocations: 195.1 kB / 16.25 MB, free: 6.621 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.36/1.36, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9456/0.9456, allocations: 135.6 MB / 425.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 67.3 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1615, allocations: 81.02 MB / 0.5845 GB, free: 4.336 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.4379/0.5995, allocations: 159.1 MB / 0.7399 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002404/0.6019, allocations: 0.9532 MB / 0.7408 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005168/0.6025, allocations: 14.38 kB / 0.7408 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000797/0.6033, allocations: 136.2 kB / 0.7409 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00195/0.6053, allocations: 0.5981 MB / 0.7415 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006691/0.606, allocations: 196.7 kB / 0.7417 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007231/0.6067, allocations: 0.5209 MB / 0.7422 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003671/0.6071, allocations: 173.4 kB / 0.7424 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004688/0.6076, allocations: 242.3 kB / 0.7426 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.6078, allocations: 168.3 kB / 0.7428 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.6079, allocations: 15.12 kB / 0.7428 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.6089, allocations: 0.5648 MB / 0.7433 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.609, allocations: 89.58 kB / 0.7434 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.6092, allocations: 111.3 kB / 0.7435 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008467/0.61, allocations: 0.5237 MB / 0.7441 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.6101, allocations: 0 / 0.7441 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6101, allocations: 0 / 0.7441 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.6101, allocations: 5.562 kB / 0.7441 GB, free: 6.77 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.001525/0.6116, allocations: 0.5905 MB / 0.7446 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.6117, allocations: 10.16 kB / 0.7446 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002803/0.612, allocations: 50.02 kB / 0.7447 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004017/0.6124, allocations: 285.7 kB / 0.745 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.6124, allocations: 11.36 kB / 0.745 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.889e-05/0.6124, allocations: 18.92 kB / 0.745 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005275/0.613, allocations: 240.4 kB / 0.7452 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.613, allocations: 1.688 kB / 0.7452 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.613, allocations: 7.984 kB / 0.7452 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.413e-05/0.6131, allocations: 10.12 kB / 0.7452 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006406/0.6137, allocations: 258 kB / 0.7455 GB, free: 5.836 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.001354/0.6151, allocations: 0.8351 MB / 0.7463 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/0.6154, allocations: 148.2 kB / 0.7464 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.6156, allocations: 110.4 kB / 0.7465 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002942/0.6159, allocations: 186.4 kB / 0.7467 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.616, allocations: 37.09 kB / 0.7468 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.616, allocations: 4 kB / 0.7468 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.000819/0.6168, allocations: 295.8 kB / 0.747 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.6169, allocations: 57.44 kB / 0.7471 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.6171, allocations: 243.5 kB / 0.7473 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.6171, allocations: 25.7 kB / 0.7474 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.6173, allocations: 144.5 kB / 0.7475 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.584e-05/0.6173, allocations: 44.2 kB / 0.7475 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.058e-05/0.6174, allocations: 40.98 kB / 0.7476 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.6176, allocations: 333.6 kB / 0.7479 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.6177, allocations: 63.08 kB / 0.748 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.618, allocations: 108.1 kB / 0.7481 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003342/0.6183, allocations: 169.3 kB / 0.7482 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6183, allocations: 0 / 0.7482 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004413/0.6188, allocations: 217.8 kB / 0.7484 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.6188, allocations: 13.22 kB / 0.7484 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.6188, allocations: 0 / 0.7484 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.6188, allocations: 2.938 kB / 0.7484 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.619, allocations: 25.08 kB / 0.7485 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.619, allocations: 6.453 kB / 0.7485 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.6192, allocations: 25.27 kB / 0.7485 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.6192, allocations: 6.719 kB / 0.7485 GB, free: 3.434 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.0001487/0.6194, allocations: 147.4 kB / 0.7486 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.953e-05/0.6194, allocations: 25.66 kB / 0.7487 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.864e-05/0.6195, allocations: 33.83 kB / 0.7487 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.6195, allocations: 0 / 0.7487 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.6196, allocations: 10.12 kB / 0.7487 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.6196, allocations: 0 / 0.7487 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.6206, allocations: 0.6726 MB / 0.7494 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.6207, allocations: 6.797 kB / 0.7494 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.6208, allocations: 37.38 kB / 0.7494 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.6208, allocations: 4.75 kB / 0.7494 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.6208, allocations: 6.688 kB / 0.7494 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.6209, allocations: 2.906 kB / 0.7494 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.6209, allocations: 3.438 kB / 0.7494 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005031/0.6214, allocations: 353.9 kB / 0.7498 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.6215, allocations: 117.9 kB / 0.7499 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.6215, allocations: 6.594 kB / 0.7499 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.6217, allocations: 12.23 kB / 0.7499 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/0.6218, allocations: 24.55 kB / 0.7499 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.6218, allocations: 5.75 kB / 0.7499 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001695/0.622, allocations: 180.5 kB / 0.7501 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.622, allocations: 0 / 0.7501 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000351/0.6223, allocations: 57.78 kB / 0.7502 GB, free: 2.078 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.0004053/0.6228, allocations: 145.7 kB / 0.7503 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000443/0.6232, allocations: 185.6 kB / 0.7505 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6232, allocations: 0 / 0.7505 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.6234, allocations: 102.1 kB / 0.7506 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007242/0.6242, allocations: 127.5 kB / 0.7507 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007807/0.625, allocations: 0.5053 MB / 0.7512 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.6254, allocations: 0.7537 MB / 0.7519 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002244/0.6256, allocations: 65.89 kB / 0.752 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.516e-05/0.6257, allocations: 23.44 kB / 0.752 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.6257, allocations: 0 / 0.752 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of Templates: time 0.009037/0.6347, allocations: 4.336 MB / 0.7562 GB, free: 12.3 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)