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.001221/0.001221, 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.001448/0.001448, allocations: 200.7 kB / 16.26 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.434/1.434, 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.015/1.015, allocations: 135.1 MB / 425.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001444, allocations: 60.81 kB / 0.5048 GB, free: 5.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.179, allocations: 80.93 MB / 0.5839 GB, free: 4.91 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.5745/0.7535, allocations: 159.3 MB / 0.7394 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003565/0.7571, allocations: 1.693 MB / 0.7411 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006162/0.7578, allocations: 13.03 kB / 0.7411 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007527/0.7585, allocations: 140.5 kB / 0.7412 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001858/0.7604, allocations: 490.2 kB / 0.7417 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.7619, allocations: 378.9 kB / 0.7421 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001541/0.7635, allocations: 0.5712 MB / 0.7426 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000674/0.7642, allocations: 169.7 kB / 0.7428 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/0.7656, allocations: 321.4 kB / 0.7431 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005105/0.7661, allocations: 163.5 kB / 0.7432 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.171e-05/0.7662, allocations: 12.41 kB / 0.7433 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001577/0.7678, allocations: 0.7121 MB / 0.744 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.768, allocations: 79.08 kB / 0.744 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003002/0.7683, allocations: 113.2 kB / 0.7441 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.7694, allocations: 0.5314 MB / 0.7447 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.7694, allocations: 0 / 0.7447 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7695, allocations: 4 kB / 0.7447 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.7695, allocations: 1.375 kB / 0.7447 GB, free: 6.652 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.0008746/0.7703, allocations: 0.5825 MB / 0.7452 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.7704, allocations: 10.34 kB / 0.7452 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004088/0.7708, allocations: 56.48 kB / 0.7453 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.7712, allocations: 290.5 kB / 0.7456 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.7712, allocations: 11.44 kB / 0.7456 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.214e-05/0.7712, allocations: 15.03 kB / 0.7456 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004031/0.7716, allocations: 192.6 kB / 0.7458 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.7717, allocations: 3.938 kB / 0.7458 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.7717, allocations: 6.688 kB / 0.7458 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.7717, allocations: 2.656 kB / 0.7458 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003279/0.772, allocations: 121.6 kB / 0.7459 GB, free: 5.672 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.001094/0.7731, allocations: 0.7889 MB / 0.7467 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.7734, allocations: 84.44 kB / 0.7468 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.7736, allocations: 72.81 kB / 0.7468 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000433/0.774, allocations: 198 kB / 0.747 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.7741, allocations: 33.34 kB / 0.7471 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.7741, allocations: 0 / 0.7471 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0007702/0.7749, allocations: 222.6 kB / 0.7473 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.7749, allocations: 57.52 kB / 0.7473 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/0.7752, allocations: 270 kB / 0.7476 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.7752, allocations: 31.45 kB / 0.7476 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.7754, allocations: 146.5 kB / 0.7477 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/0.7754, allocations: 28.5 kB / 0.7478 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.459e-05/0.7755, allocations: 34.2 kB / 0.7478 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.7757, allocations: 332.4 kB / 0.7481 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.7758, allocations: 49.39 kB / 0.7482 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.776, allocations: 91.23 kB / 0.7483 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002615/0.7763, allocations: 127.8 kB / 0.7484 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.7763, allocations: 0 / 0.7484 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003678/0.7767, allocations: 161.7 kB / 0.7485 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.7767, allocations: 4.906 kB / 0.7485 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.7767, allocations: 6.438 kB / 0.7485 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.7767, allocations: 0 / 0.7485 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.7769, allocations: 22.23 kB / 0.7486 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.7769, allocations: 0 / 0.7486 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.7771, allocations: 22.92 kB / 0.7486 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.7771, allocations: 8.969 kB / 0.7486 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001916/0.7773, allocations: 143.7 kB / 0.7487 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001524/0.7775, allocations: 95.2 kB / 0.7488 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002453/0.7777, allocations: 123.3 kB / 0.7489 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.292e-06/0.7777, allocations: 0.75 kB / 0.7489 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003188/0.7781, allocations: 153.1 kB / 0.7491 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.7781, allocations: 5.312 kB / 0.7491 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.7781, allocations: 5.969 kB / 0.7491 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.859e-06/0.7781, allocations: 6.625 kB / 0.7491 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.7782, allocations: 19.2 kB / 0.7491 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.7782, allocations: 12.75 kB / 0.7491 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.7784, allocations: 19.02 kB / 0.7492 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.7784, allocations: 9.438 kB / 0.7492 GB, free: 2.977 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.0001211/0.7785, allocations: 183.7 kB / 0.7493 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-05/0.7786, allocations: 28.84 kB / 0.7494 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003509/0.779, allocations: 163.7 kB / 0.7495 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.779, allocations: 0 / 0.7495 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.779, allocations: 0 / 0.7495 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.779, allocations: 2.531 kB / 0.7495 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009619/0.78, allocations: 0.5903 MB / 0.7501 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.78, allocations: 0 / 0.7501 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.7801, allocations: 25.8 kB / 0.7501 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.7801, allocations: 6.594 kB / 0.7501 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.7801, allocations: 3.781 kB / 0.7501 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.7801, allocations: 2.781 kB / 0.7501 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.7801, allocations: 2.594 kB / 0.7501 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000399/0.7805, allocations: 307.9 kB / 0.7504 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.7807, allocations: 111.2 kB / 0.7505 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.7807, allocations: 4.812 kB / 0.7505 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/0.781, allocations: 24.22 kB / 0.7506 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.781, allocations: 9.75 kB / 0.7506 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.781, allocations: 5.312 kB / 0.7506 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001864/0.7812, allocations: 197.9 kB / 0.7508 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7812, allocations: 0 / 0.7508 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004896/0.7817, allocations: 96.16 kB / 0.7509 GB, free: 1.574 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.000523/0.7822, allocations: 176.1 kB / 0.751 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004871/0.7827, allocations: 164.7 kB / 0.7512 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.7828, allocations: 2.5 kB / 0.7512 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.7829, allocations: 66.58 kB / 0.7513 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007066/0.7836, allocations: 119.6 kB / 0.7514 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007919/0.7844, allocations: 0.5065 MB / 0.7519 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.7848, allocations: 0.7533 MB / 0.7526 GB, free: 116 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002585/0.7851, allocations: 66.53 kB / 0.7527 GB, free: 48 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.893e-05/0.7852, allocations: 23.44 kB / 0.7527 GB, free: 24 kB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.7852, allocations: 4 kB / 0.7527 GB, free: 20 kB / 0.5606 GB Notification: Performance of Templates: time 0.00997/0.7951, allocations: 4.292 MB / 0.7569 GB, free: 11.82 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)