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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 177.5 kB / 7.649 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8093/0.8093, allocations: 133.6 MB / 141.6 MB, free: 2.879 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 221.5 MB / 395.5 MB, free: 10.84 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009821/0.000982, allocations: 106.1 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.192e-05/2.195e-05, allocations: 4 kB / 0.5535 GB, free: 9.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5064/0.5064, allocations: 82.31 MB / 0.6338 GB, free: 40.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.846/5.352, allocations: 1.83 GB / 2.464 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/5.352, allocations: 85.62 kB / 2.464 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.9733/6.326, allocations: 219.4 MB / 2.678 GB, free: 206.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.853e-06/6.326, allocations: 3.5 kB / 2.678 GB, free: 206.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.322e-05/6.326, allocations: 7.594 kB / 2.678 GB, free: 206.7 MB / 0.6823 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.001074/6.327, allocations: 0.5558 MB / 2.679 GB, free: 206.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/6.327, allocations: 14.69 kB / 2.679 GB, free: 206.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004329/6.327, allocations: 56.27 kB / 2.679 GB, free: 206.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005759/6.328, allocations: 301.6 kB / 2.679 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/6.328, allocations: 6.172 kB / 2.679 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/6.328, allocations: 7.688 kB / 2.679 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001763/6.328, allocations: 89.66 kB / 2.679 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/6.328, allocations: 156.5 kB / 2.679 GB, free: 206 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/6.328, allocations: 3.25 kB / 2.679 GB, free: 206 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/6.329, allocations: 0 / 2.679 GB, free: 206 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/6.329, allocations: 3.344 kB / 2.679 GB, free: 206 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.0009431/6.329, allocations: 0.7359 MB / 2.68 GB, free: 205.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/6.33, allocations: 64.55 kB / 2.68 GB, free: 205.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.626e-05/6.33, allocations: 53.5 kB / 2.68 GB, free: 205.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002685/6.33, allocations: 189.7 kB / 2.68 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/6.33, allocations: 43.83 kB / 2.681 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/6.33, allocations: 3.938 kB / 2.681 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0004466/6.331, allocations: 138 kB / 2.681 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/6.331, allocations: 51.41 kB / 2.681 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/6.331, allocations: 190.4 kB / 2.681 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/6.331, allocations: 25.7 kB / 2.681 GB, free: 205 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.016e-05/6.331, allocations: 146.7 kB / 2.681 GB, free: 204.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/6.331, allocations: 36.58 kB / 2.681 GB, free: 204.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/6.331, allocations: 0 / 2.681 GB, free: 204.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.518e-05/6.331, allocations: 336.9 kB / 2.681 GB, free: 204.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.22e-05/6.331, allocations: 23.03 kB / 2.681 GB, free: 204.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.579e-05/6.331, allocations: 85.61 kB / 2.682 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.684e-05/6.331, allocations: 34.75 kB / 2.682 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/6.331, allocations: 6.875 kB / 2.682 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001704/6.331, allocations: 113.1 kB / 2.682 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/6.331, allocations: 365.9 kB / 2.682 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/6.331, allocations: 0 / 2.682 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/6.331, allocations: 3.906 kB / 2.682 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/6.332, allocations: 32.03 kB / 2.682 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/6.332, allocations: 3.938 kB / 2.682 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/6.332, allocations: 21 kB / 2.682 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/6.332, allocations: 3.688 kB / 2.682 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/6.332, allocations: 3.906 kB / 2.682 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001173/6.332, allocations: 72.5 kB / 2.682 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/6.332, allocations: 6.922 kB / 2.682 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.246e-06/6.332, allocations: 0 / 2.682 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/6.332, allocations: 26.05 kB / 2.682 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/6.332, allocations: 7.547 kB / 2.682 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/6.332, allocations: 28.62 kB / 2.682 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/6.332, allocations: 6.5 kB / 2.682 GB, free: 204.1 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001054/6.332, allocations: 101 kB / 2.682 GB, free: 204 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/6.333, allocations: 18.34 kB / 2.682 GB, free: 204 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/6.333, allocations: 135.4 kB / 2.682 GB, free: 204 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/6.333, allocations: 0 / 2.682 GB, free: 204 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/6.333, allocations: 0 / 2.682 GB, free: 204 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/6.333, allocations: 3.953 kB / 2.682 GB, free: 204 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006132/6.333, allocations: 0.511 MB / 2.683 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/6.333, allocations: 3.938 kB / 2.683 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/6.334, allocations: 24.03 kB / 2.683 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/6.334, allocations: 7.641 kB / 2.683 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/6.334, allocations: 3.656 kB / 2.683 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/6.334, allocations: 9.922 kB / 2.683 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/6.334, allocations: 3.531 kB / 2.683 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/6.334, allocations: 335.8 kB / 2.683 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.303e-05/6.334, allocations: 108 kB / 2.683 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.247e-05/6.334, allocations: 10.77 kB / 2.683 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/6.334, allocations: 21.94 kB / 2.683 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/6.334, allocations: 7.672 kB / 2.683 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/6.334, allocations: 7.844 kB / 2.683 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001079/6.334, allocations: 147.5 kB / 2.684 GB, free: 203.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/6.334, allocations: 2.938 kB / 2.684 GB, free: 203.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006368/6.335, allocations: 154.9 kB / 2.684 GB, free: 203.1 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001483/6.336, allocations: 1.023 MB / 2.685 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002563/6.337, allocations: 122.6 kB / 2.685 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/6.337, allocations: 3.281 kB / 2.685 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.862e-05/6.337, allocations: 42.61 kB / 2.685 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006718/6.338, allocations: 108.9 kB / 2.685 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005424/6.338, allocations: 289.5 kB / 2.685 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/6.338, allocations: 0.7654 MB / 2.686 GB, free: 202 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002716/6.339, allocations: 68.19 kB / 2.686 GB, free: 202 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/6.339, allocations: 22.2 kB / 2.686 GB, free: 202 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/6.339, allocations: 0 / 2.686 GB, free: 202 MB / 0.6823 GB Notification: Performance of Templates: time 0.01393/6.353, allocations: 8.678 MB / 2.695 GB, free: 201.3 MB / 0.6823 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)