Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.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.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop") translateModel(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005101/0.005101, allocations: 100.2 kB / 15.87 MB, free: 5.867 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.001132/0.001133, allocations: 192 kB / 16.79 MB, free: 5.812 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.361/1.361, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9865/0.9865, allocations: 135.1 MB / 425.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 61.56 kB / 0.5053 GB, free: 5.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1749, allocations: 80.93 MB / 0.5843 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.5162/0.6911, allocations: 159.2 MB / 0.7399 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003539/0.6947, allocations: 1.728 MB / 0.7415 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005105/0.6952, allocations: 9.562 kB / 0.7416 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006795/0.696, allocations: 127.2 kB / 0.7417 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001473/0.6975, allocations: 495.3 kB / 0.7421 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.6987, allocations: 387.6 kB / 0.7425 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001029/0.6998, allocations: 0.7564 MB / 0.7433 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003255/0.7001, allocations: 155.1 kB / 0.7434 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007348/0.7009, allocations: 290 kB / 0.7437 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002407/0.7011, allocations: 165.9 kB / 0.7438 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/0.7012, allocations: 7.156 kB / 0.7438 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001527/0.7027, allocations: 0.7775 MB / 0.7446 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.7028, allocations: 70.83 kB / 0.7447 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.703, allocations: 115.2 kB / 0.7448 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006126/0.7036, allocations: 347 kB / 0.7451 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.7036, allocations: 0 / 0.7451 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7036, allocations: 1.188 kB / 0.7451 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.7036, allocations: 0 / 0.7451 GB, free: 6.516 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009745/0.7046, allocations: 0.5889 MB / 0.7457 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.7047, allocations: 9.844 kB / 0.7457 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004615/0.7051, allocations: 56.39 kB / 0.7458 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/0.7055, allocations: 284.2 kB / 0.746 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.7056, allocations: 14 kB / 0.746 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.7056, allocations: 14.19 kB / 0.746 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004229/0.706, allocations: 188.2 kB / 0.7462 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.7061, allocations: 1.375 kB / 0.7462 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.7061, allocations: 9.359 kB / 0.7462 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.7061, allocations: 10.67 kB / 0.7462 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003288/0.7064, allocations: 130 kB / 0.7464 GB, free: 5.453 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.001107/0.7076, allocations: 0.7794 MB / 0.7471 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002681/0.7078, allocations: 84.12 kB / 0.7472 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.708, allocations: 77.09 kB / 0.7473 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004061/0.7084, allocations: 184.4 kB / 0.7475 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.7085, allocations: 41.09 kB / 0.7475 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.7085, allocations: 4 kB / 0.7475 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006985/0.7092, allocations: 222.8 kB / 0.7477 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.7092, allocations: 55.34 kB / 0.7478 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/0.7095, allocations: 267 kB / 0.748 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.7096, allocations: 32.36 kB / 0.7481 GB, free: 4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.7097, allocations: 150.5 kB / 0.7482 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.002e-05/0.7098, allocations: 36.88 kB / 0.7482 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.174e-05/0.7098, allocations: 28.38 kB / 0.7483 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.71, allocations: 332.2 kB / 0.7486 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.7101, allocations: 42.14 kB / 0.7486 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.7103, allocations: 100.1 kB / 0.7487 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.7105, allocations: 117.8 kB / 0.7488 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.7105, allocations: 2.812 kB / 0.7488 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003276/0.7109, allocations: 165 kB / 0.749 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.7109, allocations: 4.875 kB / 0.749 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.7109, allocations: 3.938 kB / 0.749 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.7109, allocations: 2.375 kB / 0.749 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.7111, allocations: 22.23 kB / 0.749 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.7111, allocations: 0 / 0.749 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.7113, allocations: 25.66 kB / 0.749 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.7113, allocations: 4.875 kB / 0.749 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001971/0.7115, allocations: 149.2 kB / 0.7492 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001498/0.7117, allocations: 92.11 kB / 0.7493 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002366/0.7119, allocations: 117.6 kB / 0.7494 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.72e-07/0.7119, allocations: 0 / 0.7494 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003122/0.7122, allocations: 156.9 kB / 0.7495 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.093e-06/0.7123, allocations: 4.312 kB / 0.7495 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-06/0.7123, allocations: 1.406 kB / 0.7495 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.194e-06/0.7123, allocations: 6.75 kB / 0.7496 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.7124, allocations: 24.02 kB / 0.7496 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.843e-06/0.7124, allocations: 4.031 kB / 0.7496 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.7126, allocations: 25.83 kB / 0.7496 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.7126, allocations: 5.5 kB / 0.7496 GB, free: 2.773 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0001126/0.7127, allocations: 187.8 kB / 0.7498 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.104e-05/0.7128, allocations: 29.16 kB / 0.7498 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003629/0.7131, allocations: 167.6 kB / 0.75 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.912e-06/0.7132, allocations: 3.984 kB / 0.75 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.7132, allocations: 6.516 kB / 0.75 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.7132, allocations: 0 / 0.75 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000908/0.7141, allocations: 0.5782 MB / 0.7505 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.7141, allocations: 0 / 0.7505 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.7142, allocations: 33.55 kB / 0.7506 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.7142, allocations: 2.469 kB / 0.7506 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.7143, allocations: 2.625 kB / 0.7506 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.7143, allocations: 3.125 kB / 0.7506 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.7143, allocations: 6.391 kB / 0.7506 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003664/0.7146, allocations: 294.1 kB / 0.7509 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.7148, allocations: 115.5 kB / 0.751 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.002e-05/0.7148, allocations: 10.73 kB / 0.751 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.715, allocations: 11.89 kB / 0.751 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/0.7151, allocations: 24.92 kB / 0.751 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.7151, allocations: 5.375 kB / 0.751 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001924/0.7153, allocations: 194.2 kB / 0.7512 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7153, allocations: 0 / 0.7512 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004843/0.7158, allocations: 92.14 kB / 0.7513 GB, free: 1.371 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 (10): * Single equations (assignments): 10 * 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.0004249/0.7162, allocations: 163.3 kB / 0.7515 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004555/0.7167, allocations: 168.6 kB / 0.7516 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7167, allocations: 0 / 0.7516 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.7168, allocations: 62.55 kB / 0.7517 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000838/0.7177, allocations: 129.5 kB / 0.7518 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008114/0.7185, allocations: 0.5314 MB / 0.7523 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.7189, allocations: 0.7628 MB / 0.7531 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.662e-05/0.7189, allocations: 23.59 kB / 0.7531 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of SimCode: time 2.11e-07/0.7189, allocations: 0 / 0.7531 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.006246/0.7252, allocations: 3.742 MB / 0.7568 GB, free: 12.43 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)