Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop") translateModel(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001202/0.001202, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.00696/0.00696, allocations: 169.5 kB / 16.27 MB, free: 6.652 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.455/1.455, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7897/0.7897, allocations: 132.4 MB / 423.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.0003755, allocations: 8.906 kB / 0.504 GB, free: 3.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5218/0.5222, allocations: 81.58 MB / 0.5837 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.1904/0.7127, allocations: 157.2 MB / 0.7372 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003013/0.7157, allocations: 1.706 MB / 0.7388 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002601/0.716, allocations: 15.94 kB / 0.7389 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005736/0.7166, allocations: 135.2 kB / 0.739 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001287/0.7179, allocations: 486 kB / 0.7394 GB, free: 368 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.7189, allocations: 376.4 kB / 0.7398 GB, free: 0 / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009195/0.7199, allocations: 0.7675 MB / 0.7406 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000278/0.7202, allocations: 148.5 kB / 0.7407 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000602/0.7208, allocations: 290.8 kB / 0.741 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002094/0.721, allocations: 159.2 kB / 0.7411 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.721, allocations: 8 kB / 0.7411 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.7222, allocations: 0.7716 MB / 0.7419 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.7223, allocations: 71.78 kB / 0.742 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.7225, allocations: 141 kB / 0.7421 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006825/0.7232, allocations: 0.5063 MB / 0.7426 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7232, allocations: 4 kB / 0.7426 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7232, allocations: 0 / 0.7426 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.7232, allocations: 0 / 0.7426 GB, free: 13.14 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008011/0.724, allocations: 0.5449 MB / 0.7431 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.724, allocations: 12.03 kB / 0.7431 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003513/0.7244, allocations: 59.53 kB / 0.7432 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003483/0.7248, allocations: 289.3 kB / 0.7435 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.7248, allocations: 12 kB / 0.7435 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.03e-05/0.7248, allocations: 16 kB / 0.7435 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003804/0.7252, allocations: 196.1 kB / 0.7437 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.7252, allocations: 0 / 0.7437 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.7253, allocations: 4 kB / 0.7437 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.7253, allocations: 8 kB / 0.7437 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003305/0.7256, allocations: 143.8 kB / 0.7438 GB, free: 11.77 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.001004/0.7266, allocations: 0.7887 MB / 0.7446 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.7269, allocations: 90.59 kB / 0.7447 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.7271, allocations: 76.81 kB / 0.7448 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003078/0.7274, allocations: 190.2 kB / 0.7449 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.7274, allocations: 38.5 kB / 0.745 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.7274, allocations: 0 / 0.745 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0006966/0.7281, allocations: 237.2 kB / 0.7452 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.7282, allocations: 51.41 kB / 0.7453 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.7285, allocations: 271 kB / 0.7455 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.7285, allocations: 29.7 kB / 0.7455 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.942e-05/0.7286, allocations: 151.7 kB / 0.7457 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.7286, allocations: 35.47 kB / 0.7457 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/0.7287, allocations: 17.64 kB / 0.7457 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.7288, allocations: 334.8 kB / 0.7461 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.7289, allocations: 44.33 kB / 0.7461 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.7291, allocations: 101 kB / 0.7462 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.7294, allocations: 139.3 kB / 0.7463 GB, free: 9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.7294, allocations: 0 / 0.7463 GB, free: 9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003509/0.7298, allocations: 165.3 kB / 0.7465 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.346e-05/0.7299, allocations: 123.5 kB / 0.7466 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.7299, allocations: 3.938 kB / 0.7466 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.7299, allocations: 0 / 0.7466 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.73, allocations: 23.98 kB / 0.7466 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.73, allocations: 4 kB / 0.7466 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.7302, allocations: 23.92 kB / 0.7467 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.7303, allocations: 4 kB / 0.7467 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.644e-06/0.7303, allocations: 4 kB / 0.7467 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002978/0.7306, allocations: 123.8 kB / 0.7468 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-06/0.7306, allocations: 0 / 0.7468 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.717e-06/0.7306, allocations: 4 kB / 0.7468 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.7307, allocations: 27.92 kB / 0.7468 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-06/0.7307, allocations: 4.062 kB / 0.7468 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.7309, allocations: 23.89 kB / 0.7468 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.7309, allocations: 8 kB / 0.7468 GB, free: 8.445 MB / 0.5762 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.0001468/0.7311, allocations: 217.1 kB / 0.7471 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/0.7311, allocations: 27.72 kB / 0.7471 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003889/0.7315, allocations: 171.2 kB / 0.7472 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.7316, allocations: 4 kB / 0.7472 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.7316, allocations: 0 / 0.7472 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.7316, allocations: 0 / 0.7472 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000886/0.7325, allocations: 0.6053 MB / 0.7478 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.7325, allocations: 4 kB / 0.7478 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.7326, allocations: 24.2 kB / 0.7479 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.7326, allocations: 8 kB / 0.7479 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.7326, allocations: 7.984 kB / 0.7479 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.7326, allocations: 7.938 kB / 0.7479 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.7326, allocations: 0 / 0.7479 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003779/0.733, allocations: 309.4 kB / 0.7482 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.094e-05/0.7331, allocations: 117.1 kB / 0.7483 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.7332, allocations: 4 kB / 0.7483 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.7334, allocations: 23.89 kB / 0.7483 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.7334, allocations: 15.92 kB / 0.7483 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.7335, allocations: 7.984 kB / 0.7483 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000184/0.7337, allocations: 197.9 kB / 0.7485 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7337, allocations: 4 kB / 0.7485 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004538/0.7341, allocations: 99.83 kB / 0.7486 GB, free: 6.473 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 (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.0003648/0.7345, allocations: 160.3 kB / 0.7488 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004937/0.735, allocations: 175.8 kB / 0.7489 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.735, allocations: 0 / 0.7489 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.7352, allocations: 72.39 kB / 0.749 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009169/0.7361, allocations: 129 kB / 0.7491 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006972/0.7368, allocations: 0.5071 MB / 0.7496 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.7371, allocations: 0.756 MB / 0.7504 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000227/0.7374, allocations: 78.2 kB / 0.7504 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.32e-05/0.7374, allocations: 19.44 kB / 0.7505 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of SimCode: time 3.61e-07/0.7374, allocations: 0 / 0.7505 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of Templates: time 0.008547/0.746, allocations: 4.25 MB / 0.7546 GB, free: 348 kB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)