Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.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.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01097/0.01097, allocations: 169.2 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7951/0.7951, allocations: 135.2 MB / 151.1 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.825/1.825, allocations: 223.2 MB / 406.9 MB, free: 3.207 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.001428/0.001428, allocations: 97.55 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004198/0.0004199, allocations: 16 kB / 0.5691 GB, free: 14.14 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6675/0.6679, allocations: 82.3 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.125/1.793, allocations: 375.2 MB / 1.016 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003394/1.793, allocations: 90.64 kB / 1.016 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.9385/2.732, allocations: 172.1 MB / 1.184 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.466e-06/2.732, allocations: 0 / 1.184 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.943e-05/2.732, allocations: 8 kB / 1.184 GB, free: 142.6 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001532/2.734, allocations: 0.7629 MB / 1.185 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/2.734, allocations: 8.031 kB / 1.185 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.594e-05/2.734, allocations: 51.42 kB / 1.185 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03011/2.764, allocations: 14.7 MB / 1.199 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/2.764, allocations: 16.33 kB / 1.199 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/2.764, allocations: 23.94 kB / 1.199 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004142/2.764, allocations: 176.2 kB / 1.199 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/2.764, allocations: 4 kB / 1.199 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/2.764, allocations: 4 kB / 1.199 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/2.764, allocations: 4 kB / 1.199 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000286/2.765, allocations: 132.2 kB / 1.2 GB, free: 126.5 MB / 0.6823 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.001172/2.766, allocations: 0.8451 MB / 1.2 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/2.766, allocations: 110.6 kB / 1.2 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002818/2.767, allocations: 336.6 kB / 1.201 GB, free: 125 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/2.767, allocations: 42.5 kB / 1.201 GB, free: 125 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 5.561e-06/2.767, allocations: 4 kB / 1.201 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12): time 0.0005548/2.767, allocations: 221.3 kB / 1.201 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/2.767, allocations: 51.41 kB / 1.201 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/2.767, allocations: 292.9 kB / 1.201 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/2.767, allocations: 29.7 kB / 1.201 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/2.768, allocations: 192.3 kB / 1.202 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/2.768, allocations: 39.36 kB / 1.202 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.047e-06/2.768, allocations: 4 kB / 1.202 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001196/2.768, allocations: 342.8 kB / 1.202 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/2.768, allocations: 51.84 kB / 1.202 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/2.768, allocations: 106.9 kB / 1.202 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/2.768, allocations: 63.91 kB / 1.202 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/2.768, allocations: 0 / 1.202 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003144/2.769, allocations: 165.2 kB / 1.202 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.457e-05/2.769, allocations: 190 kB / 1.203 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/2.769, allocations: 0 / 1.203 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/2.769, allocations: 0 / 1.203 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/2.769, allocations: 31.92 kB / 1.203 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/2.769, allocations: 3.984 kB / 1.203 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/2.769, allocations: 39.81 kB / 1.203 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/2.769, allocations: 4 kB / 1.203 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.322e-06/2.769, allocations: 4 kB / 1.203 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002573/2.769, allocations: 115.9 kB / 1.203 GB, free: 123 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-06/2.769, allocations: 4 kB / 1.203 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-06/2.769, allocations: 0 / 1.203 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/2.769, allocations: 27.98 kB / 1.203 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/2.769, allocations: 4 kB / 1.203 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/2.77, allocations: 35.86 kB / 1.203 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/2.77, allocations: 8 kB / 1.203 GB, free: 122.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 12 * 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.0001916/2.77, allocations: 221 kB / 1.203 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.221e-05/2.77, allocations: 35.81 kB / 1.203 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004653/2.77, allocations: 229.4 kB / 1.203 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/2.77, allocations: 3.984 kB / 1.203 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/2.77, allocations: 3.938 kB / 1.203 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/2.77, allocations: 3.953 kB / 1.203 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000796/2.771, allocations: 0.6061 MB / 1.204 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/2.771, allocations: 4 kB / 1.204 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/2.771, allocations: 31.92 kB / 1.204 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/2.771, allocations: 4 kB / 1.204 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/2.771, allocations: 7.953 kB / 1.204 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/2.771, allocations: 8.078 kB / 1.204 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/2.771, allocations: 4 kB / 1.204 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003953/2.772, allocations: 356.2 kB / 1.204 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/2.772, allocations: 112.7 kB / 1.204 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.141e-05/2.772, allocations: 8 kB / 1.204 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/2.772, allocations: 31.81 kB / 1.204 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/2.772, allocations: 11.98 kB / 1.204 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/2.772, allocations: 8 kB / 1.204 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002088/2.773, allocations: 231.2 kB / 1.205 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.21e-07/2.773, allocations: 0 / 1.205 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007179/2.773, allocations: 167.8 kB / 1.205 GB, free: 120.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0007798/2.774, allocations: 286.3 kB / 1.205 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005099/2.775, allocations: 197.8 kB / 1.205 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/2.775, allocations: 0 / 1.205 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001705/2.775, allocations: 76.22 kB / 1.205 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007692/2.776, allocations: 140.8 kB / 1.205 GB, free: 120 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/2.777, allocations: 0.6793 MB / 1.206 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/2.777, allocations: 0.8003 MB / 1.207 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002464/2.777, allocations: 67.39 kB / 1.207 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.73e-05/2.777, allocations: 35.42 kB / 1.207 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of SimCode: time 8.11e-07/2.777, allocations: 4 kB / 1.207 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of Templates: time 0.01191/2.789, allocations: 6.282 MB / 1.213 GB, free: 112.2 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)