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/Complex 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) 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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7639/0.7639, allocations: 130.7 MB / 138.7 MB, free: 3.559 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.566/1.566, allocations: 221.5 MB / 391.8 MB, free: 14.17 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.0009248/0.0009248, allocations: 105.5 kB / 473.9 MB, free: 4.473 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.549e-05/2.552e-05, allocations: 8 kB / 0.5485 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5374/0.5375, allocations: 81.57 MB / 0.6282 GB, free: 42.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.829/5.367, allocations: 1.83 GB / 2.458 GB, free: 82.52 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/5.367, allocations: 83.83 kB / 2.458 GB, free: 82.47 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.8156/6.183, allocations: 219.4 MB / 2.672 GB, free: 133.6 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.693e-06/6.183, allocations: 0 / 2.672 GB, free: 133.6 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.39e-05/6.183, allocations: 8 kB / 2.672 GB, free: 133.6 MB / 0.6667 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.0008039/6.184, allocations: 0.564 MB / 2.673 GB, free: 133 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/6.184, allocations: 8.031 kB / 2.673 GB, free: 133 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003139/6.184, allocations: 60.98 kB / 2.673 GB, free: 132.9 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004017/6.184, allocations: 306.4 kB / 2.673 GB, free: 132.6 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/6.184, allocations: 4 kB / 2.673 GB, free: 132.6 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/6.184, allocations: 15.89 kB / 2.673 GB, free: 132.6 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000153/6.185, allocations: 83.97 kB / 2.673 GB, free: 132.5 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/6.185, allocations: 156.2 kB / 2.674 GB, free: 132.3 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/6.185, allocations: 0 / 2.674 GB, free: 132.3 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/6.185, allocations: 0 / 2.674 GB, free: 132.3 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/6.185, allocations: 4 kB / 2.674 GB, free: 132.3 MB / 0.6667 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.0007745/6.186, allocations: 0.7349 MB / 2.674 GB, free: 131.5 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/6.186, allocations: 58.56 kB / 2.674 GB, free: 131.4 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.911e-05/6.186, allocations: 68.78 kB / 2.674 GB, free: 131.4 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002207/6.186, allocations: 182.4 kB / 2.675 GB, free: 131.2 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/6.186, allocations: 38.5 kB / 2.675 GB, free: 131.1 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/6.186, allocations: 0 / 2.675 GB, free: 131.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=10): time 0.0003942/6.187, allocations: 141.3 kB / 2.675 GB, free: 131 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/6.187, allocations: 51.41 kB / 2.675 GB, free: 130.9 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/6.187, allocations: 184.5 kB / 2.675 GB, free: 130.7 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/6.187, allocations: 29.69 kB / 2.675 GB, free: 130.7 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 6.104e-05/6.187, allocations: 144.3 kB / 2.675 GB, free: 130.5 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/6.187, allocations: 39.41 kB / 2.675 GB, free: 130.5 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/6.187, allocations: 0 / 2.675 GB, free: 130.5 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 5.531e-05/6.187, allocations: 330.8 kB / 2.676 GB, free: 130.2 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.808e-05/6.187, allocations: 27.98 kB / 2.676 GB, free: 130.1 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.879e-05/6.187, allocations: 86.84 kB / 2.676 GB, free: 130 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.226e-05/6.187, allocations: 35.97 kB / 2.676 GB, free: 130 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/6.187, allocations: 3.938 kB / 2.676 GB, free: 130 MB / 0.6667 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001463/6.187, allocations: 117.4 kB / 2.676 GB, free: 129.9 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.665e-05/6.187, allocations: 360 kB / 2.676 GB, free: 129.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/6.187, allocations: 4.031 kB / 2.676 GB, free: 129.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/6.187, allocations: 4 kB / 2.676 GB, free: 129.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/6.187, allocations: 27.97 kB / 2.676 GB, free: 129.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/6.188, allocations: 7.953 kB / 2.676 GB, free: 129.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/6.188, allocations: 15.98 kB / 2.676 GB, free: 129.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/6.188, allocations: 4 kB / 2.676 GB, free: 129.4 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.725e-06/6.188, allocations: 13.5 kB / 2.676 GB, free: 129.4 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001002/6.188, allocations: 67.89 kB / 2.676 GB, free: 129.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-06/6.188, allocations: 4.281 kB / 2.676 GB, free: 129.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-06/6.188, allocations: 3.938 kB / 2.676 GB, free: 129.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/6.188, allocations: 23.98 kB / 2.676 GB, free: 129.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-06/6.188, allocations: 80 / 2.676 GB, free: 129.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/6.188, allocations: 28.19 kB / 2.676 GB, free: 129.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/6.188, allocations: 11.98 kB / 2.676 GB, free: 129.3 MB / 0.6667 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 5.825e-05/6.188, allocations: 110.6 kB / 2.676 GB, free: 129.2 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/6.188, allocations: 31.69 kB / 2.676 GB, free: 129.1 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/6.188, allocations: 115.4 kB / 2.677 GB, free: 129 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/6.188, allocations: 7.984 kB / 2.677 GB, free: 129 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/6.188, allocations: 0 / 2.677 GB, free: 129 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/6.188, allocations: 0 / 2.677 GB, free: 129 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005178/6.189, allocations: 0.5084 MB / 2.677 GB, free: 128.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/6.189, allocations: 4 kB / 2.677 GB, free: 128.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/6.189, allocations: 36.14 kB / 2.677 GB, free: 128.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/6.189, allocations: 4 kB / 2.677 GB, free: 128.4 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/6.189, allocations: 0 / 2.677 GB, free: 128.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/6.189, allocations: 4 kB / 2.677 GB, free: 128.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/6.189, allocations: 0 / 2.677 GB, free: 128.4 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/6.189, allocations: 345.2 kB / 2.677 GB, free: 128 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 7.107e-05/6.189, allocations: 104.8 kB / 2.678 GB, free: 127.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/6.189, allocations: 4 kB / 2.678 GB, free: 127.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/6.19, allocations: 23.91 kB / 2.678 GB, free: 127.8 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/6.19, allocations: 19.89 kB / 2.678 GB, free: 127.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/6.19, allocations: 4 kB / 2.678 GB, free: 127.8 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 8.457e-05/6.19, allocations: 152.5 kB / 2.678 GB, free: 127.6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/6.19, allocations: 0 / 2.678 GB, free: 127.6 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000538/6.19, allocations: 147.8 kB / 2.678 GB, free: 127.5 MB / 0.6667 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.001157/6.192, allocations: 1.023 MB / 2.679 GB, free: 126.5 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002007/6.192, allocations: 125.4 kB / 2.679 GB, free: 126.4 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/6.192, allocations: 0 / 2.679 GB, free: 126.4 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 6.091e-05/6.192, allocations: 48.14 kB / 2.679 GB, free: 126.3 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00062/6.192, allocations: 105 kB / 2.679 GB, free: 126.2 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004185/6.193, allocations: 288.7 kB / 2.679 GB, free: 125.9 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001774/6.193, allocations: 0.7639 MB / 2.68 GB, free: 125.1 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002264/6.193, allocations: 70 kB / 2.68 GB, free: 125 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.598e-05/6.193, allocations: 15.44 kB / 2.68 GB, free: 125 MB / 0.6667 GB Notification: Performance of SimCode: time 1.042e-06/6.193, allocations: 0 / 2.68 GB, free: 125 MB / 0.6667 GB Notification: Performance of Templates: time 0.01259/6.206, allocations: 8.675 MB / 2.689 GB, free: 116.4 MB / 0.6667 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)