Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00122/0.00122, allocations: 113.3 kB / 16.37 MB, free: 6.012 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.001233/0.001233, allocations: 192.1 kB / 17.31 MB, free: 5.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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8367/0.8367, allocations: 132.2 MB / 423.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.91 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.4243, allocations: 80.18 MB / 0.5815 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1776/0.6019, allocations: 161.3 MB / 0.739 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002088/0.6041, allocations: 0.9688 MB / 0.74 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002264/0.6043, allocations: 11.94 kB / 0.74 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006411/0.605, allocations: 155 kB / 0.7402 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.6067, allocations: 0.6379 MB / 0.7408 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006409/0.6074, allocations: 213.9 kB / 0.741 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006414/0.608, allocations: 0.5265 MB / 0.7415 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003191/0.6084, allocations: 164.2 kB / 0.7417 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004613/0.6088, allocations: 243 kB / 0.7419 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.609, allocations: 151.4 kB / 0.742 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.6091, allocations: 19.94 kB / 0.742 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009868/0.6101, allocations: 0.5416 MB / 0.7426 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.6102, allocations: 75.8 kB / 0.7426 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.6104, allocations: 115.5 kB / 0.7428 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008042/0.6112, allocations: 0.4908 MB / 0.7432 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-05/0.6112, allocations: 0 / 0.7432 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.435e-06/0.6112, allocations: 4 kB / 0.7432 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.6112, allocations: 0 / 0.7432 GB, free: 8.199 MB / 0.5762 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.001438/0.6127, allocations: 0.5883 MB / 0.7438 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.6127, allocations: 12.03 kB / 0.7438 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000258/0.613, allocations: 47.69 kB / 0.7439 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004011/0.6134, allocations: 302.2 kB / 0.7442 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.6134, allocations: 12.33 kB / 0.7442 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.514e-05/0.6135, allocations: 23.97 kB / 0.7442 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004853/0.614, allocations: 235.1 kB / 0.7444 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.614, allocations: 0 / 0.7444 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.614, allocations: 4 kB / 0.7444 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/0.6141, allocations: 8 kB / 0.7444 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005251/0.6146, allocations: 255.8 kB / 0.7447 GB, free: 6.637 MB / 0.5762 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.001368/0.616, allocations: 0.8392 MB / 0.7455 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.6163, allocations: 150.4 kB / 0.7456 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.6165, allocations: 108.9 kB / 0.7457 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002711/0.6168, allocations: 186.1 kB / 0.7459 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.6168, allocations: 42.55 kB / 0.746 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.663e-06/0.6168, allocations: 0 / 0.746 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0008105/0.6176, allocations: 297.3 kB / 0.7462 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.6177, allocations: 51.41 kB / 0.7463 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.6179, allocations: 245 kB / 0.7465 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.618, allocations: 33.64 kB / 0.7466 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.6181, allocations: 136.2 kB / 0.7467 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.335e-05/0.6182, allocations: 47.3 kB / 0.7467 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.119e-05/0.6182, allocations: 33.7 kB / 0.7468 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.6184, allocations: 338.8 kB / 0.7471 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.6185, allocations: 67.94 kB / 0.7472 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.6188, allocations: 102.5 kB / 0.7472 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/0.6191, allocations: 169 kB / 0.7474 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6191, allocations: 0 / 0.7474 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004488/0.6196, allocations: 225.2 kB / 0.7476 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.6196, allocations: 4 kB / 0.7476 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.6196, allocations: 0 / 0.7476 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.6196, allocations: 4 kB / 0.7476 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.6198, allocations: 35.97 kB / 0.7477 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.6199, allocations: 4 kB / 0.7477 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.62, allocations: 19.83 kB / 0.7477 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.62, allocations: 4 kB / 0.7477 GB, free: 3.336 MB / 0.5762 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.0001434/0.6202, allocations: 153.8 kB / 0.7478 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-05/0.6202, allocations: 23.66 kB / 0.7479 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.776e-05/0.6203, allocations: 29.84 kB / 0.7479 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.6203, allocations: 0 / 0.7479 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.6203, allocations: 3.984 kB / 0.7479 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.6204, allocations: 0 / 0.7479 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.6214, allocations: 0.6757 MB / 0.7486 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.6214, allocations: 4 kB / 0.7486 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.6215, allocations: 31.92 kB / 0.7486 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.6216, allocations: 4 kB / 0.7486 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.6216, allocations: 12.2 kB / 0.7486 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.6216, allocations: 0 / 0.7486 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.6216, allocations: 7.938 kB / 0.7486 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004909/0.6221, allocations: 355.9 kB / 0.749 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.6222, allocations: 112.8 kB / 0.7491 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.669e-05/0.6223, allocations: 8 kB / 0.7491 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.6224, allocations: 7.984 kB / 0.7491 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/0.6225, allocations: 23.86 kB / 0.7491 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.6225, allocations: 8 kB / 0.7491 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001679/0.6227, allocations: 184.4 kB / 0.7493 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6227, allocations: 0 / 0.7493 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003557/0.6231, allocations: 56 kB / 0.7493 GB, free: 1.508 MB / 0.5762 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.0004456/0.6235, allocations: 151.5 kB / 0.7495 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004821/0.624, allocations: 179.7 kB / 0.7497 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.624, allocations: 0 / 0.7497 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002131/0.6243, allocations: 99.8 kB / 0.7497 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007183/0.625, allocations: 117 kB / 0.7499 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007606/0.6258, allocations: 443.9 kB / 0.7503 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3254/0.9511, allocations: 0.752 MB / 0.751 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002977/0.9515, allocations: 62.94 kB / 0.7511 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.331e-05/0.9516, allocations: 20.75 kB / 0.7511 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of SimCode: time 8.91e-07/0.9516, allocations: 0 / 0.7511 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.009653/0.9613, allocations: 4.427 MB / 0.7554 GB, free: 167.1 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)