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.001311/0.001317, 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.001477/0.001477, allocations: 195.2 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.444/1.444, 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 1.018/1.018, allocations: 135.1 MB / 425.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 65.31 kB / 0.5048 GB, free: 5.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2104, allocations: 80.93 MB / 0.5839 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5245/0.7349, allocations: 159.1 MB / 0.7393 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002418/0.7374, allocations: 0.9534 MB / 0.7402 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003079/0.7377, allocations: 6.5 kB / 0.7402 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006815/0.7384, allocations: 139.2 kB / 0.7403 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001939/0.7404, allocations: 0.5985 MB / 0.7409 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006283/0.741, allocations: 199.9 kB / 0.7411 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006388/0.7417, allocations: 0.5212 MB / 0.7416 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003346/0.742, allocations: 176.8 kB / 0.7418 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004539/0.7425, allocations: 241.9 kB / 0.742 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002617/0.7428, allocations: 167.7 kB / 0.7422 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.19e-05/0.7428, allocations: 14.06 kB / 0.7422 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.7438, allocations: 0.5688 MB / 0.7427 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.744, allocations: 86.25 kB / 0.7428 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.7441, allocations: 113 kB / 0.7429 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008971/0.745, allocations: 0.5188 MB / 0.7434 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.745, allocations: 1.344 kB / 0.7434 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7451, allocations: 4 kB / 0.7434 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.7451, allocations: 0 / 0.7434 GB, free: 7.449 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.001468/0.7465, allocations: 0.5967 MB / 0.744 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.7466, allocations: 9.094 kB / 0.744 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002732/0.7469, allocations: 49.67 kB / 0.7441 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.7472, allocations: 277.5 kB / 0.7444 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.7473, allocations: 19.27 kB / 0.7444 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/0.7473, allocations: 19.48 kB / 0.7444 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005374/0.7479, allocations: 241.3 kB / 0.7446 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.7479, allocations: 0 / 0.7446 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.7479, allocations: 5.375 kB / 0.7446 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/0.7479, allocations: 10.83 kB / 0.7446 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006458/0.7486, allocations: 252.8 kB / 0.7449 GB, free: 6.52 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.00126/0.7499, allocations: 0.8386 MB / 0.7457 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.7502, allocations: 146.5 kB / 0.7458 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.7504, allocations: 110.9 kB / 0.7459 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002784/0.7507, allocations: 183.1 kB / 0.7461 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.7507, allocations: 39.88 kB / 0.7462 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.7507, allocations: 0 / 0.7462 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0007819/0.7515, allocations: 304.1 kB / 0.7464 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.7516, allocations: 51.41 kB / 0.7465 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.7518, allocations: 241.6 kB / 0.7467 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.7518, allocations: 33.7 kB / 0.7468 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.625e-05/0.7519, allocations: 134 kB / 0.7469 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.482e-05/0.752, allocations: 50.98 kB / 0.7469 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.949e-05/0.7521, allocations: 33.83 kB / 0.747 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.7522, allocations: 332.5 kB / 0.7473 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.7524, allocations: 68.73 kB / 0.7473 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.7526, allocations: 111.8 kB / 0.7475 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003371/0.7529, allocations: 165 kB / 0.7476 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.753, allocations: 2.562 kB / 0.7476 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004199/0.7534, allocations: 219.6 kB / 0.7478 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.7534, allocations: 9.219 kB / 0.7478 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.7534, allocations: 2.562 kB / 0.7478 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.7534, allocations: 0 / 0.7478 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.7536, allocations: 32.03 kB / 0.7479 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.7536, allocations: 7.875 kB / 0.7479 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.7538, allocations: 26.05 kB / 0.7479 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.7538, allocations: 5.406 kB / 0.7479 GB, free: 4.125 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.0001282/0.754, allocations: 141.3 kB / 0.748 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/0.754, allocations: 30 kB / 0.7481 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.681e-05/0.7541, allocations: 30.92 kB / 0.7481 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.7541, allocations: 2.562 kB / 0.7481 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.7541, allocations: 0 / 0.7481 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.7541, allocations: 3.984 kB / 0.7481 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009927/0.7551, allocations: 0.6758 MB / 0.7488 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.7552, allocations: 6.953 kB / 0.7488 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.7553, allocations: 28.86 kB / 0.7488 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.7553, allocations: 6.875 kB / 0.7488 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.7554, allocations: 6.531 kB / 0.7488 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.7554, allocations: 10.7 kB / 0.7488 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.7554, allocations: 6.25 kB / 0.7488 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004744/0.7559, allocations: 353.5 kB / 0.7492 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.649e-05/0.756, allocations: 113.2 kB / 0.7493 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.756, allocations: 2.5 kB / 0.7493 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.7562, allocations: 20.48 kB / 0.7493 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.7562, allocations: 16.77 kB / 0.7493 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.7563, allocations: 9.062 kB / 0.7493 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001452/0.7564, allocations: 177 kB / 0.7495 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7564, allocations: 0 / 0.7495 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003387/0.7568, allocations: 59.09 kB / 0.7495 GB, free: 2.777 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.000305/0.7571, allocations: 146.8 kB / 0.7497 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004486/0.7575, allocations: 187.6 kB / 0.7499 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.7576, allocations: 2.719 kB / 0.7499 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.7578, allocations: 97.3 kB / 0.75 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007/0.7585, allocations: 134.5 kB / 0.7501 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007763/0.7593, allocations: 0.5088 MB / 0.7506 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.7596, allocations: 0.7536 MB / 0.7513 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002035/0.7598, allocations: 63.78 kB / 0.7514 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.348e-05/0.7599, allocations: 20.94 kB / 0.7514 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.7599, allocations: 0 / 0.7514 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of Templates: time 0.008634/0.7685, allocations: 4.342 MB / 0.7556 GB, free: 13.12 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)