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-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_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.0008175/0.0008175, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009163/0.0009163, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.233/1.233, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8609/0.8609, allocations: 135.2 MB / 426.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003099/0.0003099, allocations: 13 kB / 0.5068 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1397, allocations: 82.31 MB / 0.5872 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.3796/0.5193, allocations: 135.6 MB / 0.7196 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002625/0.522, allocations: 1.606 MB / 0.7212 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002334/0.5222, allocations: 7.938 kB / 0.7212 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000622/0.5229, allocations: 180.5 kB / 0.7214 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001337/0.5242, allocations: 494.5 kB / 0.7218 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.5254, allocations: 445.2 kB / 0.7223 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005614/0.5259, allocations: 358.5 kB / 0.7226 GB, free: 10 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002539/0.5262, allocations: 146 kB / 0.7227 GB, free: 9.953 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004121/0.5266, allocations: 215.2 kB / 0.7229 GB, free: 9.852 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.5268, allocations: 109.8 kB / 0.7231 GB, free: 9.801 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.5268, allocations: 7.312 kB / 0.7231 GB, free: 9.801 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007163/0.5275, allocations: 385.1 kB / 0.7234 GB, free: 9.695 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.327e-05/0.5276, allocations: 69.05 kB / 0.7235 GB, free: 9.672 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.541e-05/0.5277, allocations: 71.64 kB / 0.7236 GB, free: 9.617 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003915/0.5281, allocations: 283.9 kB / 0.7238 GB, free: 9.551 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.5281, allocations: 0 / 0.7238 GB, free: 9.551 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5281, allocations: 0.6562 kB / 0.7238 GB, free: 9.551 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.5281, allocations: 1.188 kB / 0.7238 GB, free: 9.551 MB / 0.545 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.0006772/0.5288, allocations: 0.523 MB / 0.7243 GB, free: 9.086 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.5289, allocations: 10.09 kB / 0.7244 GB, free: 9.086 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003088/0.5292, allocations: 59.38 kB / 0.7244 GB, free: 9.066 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.5295, allocations: 285.5 kB / 0.7247 GB, free: 8.812 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.5295, allocations: 14.55 kB / 0.7247 GB, free: 8.805 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.5296, allocations: 14.69 kB / 0.7247 GB, free: 8.801 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003535/0.5299, allocations: 196.9 kB / 0.7249 GB, free: 8.699 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.5299, allocations: 0 / 0.7249 GB, free: 8.699 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.53, allocations: 5.344 kB / 0.7249 GB, free: 8.695 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.53, allocations: 3.719 kB / 0.7249 GB, free: 8.695 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003041/0.5303, allocations: 138.6 kB / 0.725 GB, free: 8.66 MB / 0.545 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.001012/0.5313, allocations: 0.7823 MB / 0.7258 GB, free: 8.039 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/0.5316, allocations: 100.2 kB / 0.7259 GB, free: 7.992 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.398e-05/0.5316, allocations: 9.672 kB / 0.7259 GB, free: 7.988 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.5317, allocations: 38.94 kB / 0.7259 GB, free: 7.945 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.5317, allocations: 0 / 0.7259 GB, free: 7.945 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0006536/0.5323, allocations: 233.7 kB / 0.7262 GB, free: 7.859 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.5324, allocations: 54.69 kB / 0.7262 GB, free: 7.797 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.5326, allocations: 263.2 kB / 0.7265 GB, free: 7.648 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.5327, allocations: 31.14 kB / 0.7265 GB, free: 7.613 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.776e-05/0.5328, allocations: 140.1 kB / 0.7266 GB, free: 7.492 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.5328, allocations: 41.23 kB / 0.7267 GB, free: 7.461 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-06/0.5328, allocations: 0 / 0.7267 GB, free: 7.461 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.5329, allocations: 334.8 kB / 0.727 GB, free: 7.137 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.5331, allocations: 52.09 kB / 0.727 GB, free: 7.121 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.5332, allocations: 98.81 kB / 0.7271 GB, free: 7.055 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.5334, allocations: 55.3 kB / 0.7272 GB, free: 7.039 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5334, allocations: 3.953 kB / 0.7272 GB, free: 7.035 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003381/0.5337, allocations: 164.1 kB / 0.7273 GB, free: 6.965 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001357/0.5339, allocations: 361.2 kB / 0.7277 GB, free: 6.594 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.5339, allocations: 2 kB / 0.7277 GB, free: 6.594 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.5339, allocations: 4.969 kB / 0.7277 GB, free: 6.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.534, allocations: 27.2 kB / 0.7277 GB, free: 6.586 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.5341, allocations: 1.797 kB / 0.7277 GB, free: 6.586 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.5342, allocations: 26.41 kB / 0.7278 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.5343, allocations: 4.062 kB / 0.7278 GB, free: 6.578 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.5343, allocations: 6.938 kB / 0.7278 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002597/0.5345, allocations: 121.3 kB / 0.7279 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/0.5346, allocations: 2.297 kB / 0.7279 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-06/0.5346, allocations: 5.5 kB / 0.7279 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.5347, allocations: 22.94 kB / 0.7279 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.5347, allocations: 5.125 kB / 0.7279 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.5349, allocations: 30.09 kB / 0.7279 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.5349, allocations: 4.797 kB / 0.7279 GB, free: 6.527 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.535, allocations: 220.6 kB / 0.7282 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.179e-05/0.5351, allocations: 23.5 kB / 0.7282 GB, free: 6.309 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003433/0.5354, allocations: 169 kB / 0.7283 GB, free: 6.234 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.5354, allocations: 2.359 kB / 0.7283 GB, free: 6.234 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.5354, allocations: 0 / 0.7283 GB, free: 6.234 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.5354, allocations: 6.906 kB / 0.7283 GB, free: 6.23 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008589/0.5363, allocations: 0.6023 MB / 0.7289 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.5363, allocations: 2.75 kB / 0.7289 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.5364, allocations: 24.03 kB / 0.729 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.5364, allocations: 2.75 kB / 0.729 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.5365, allocations: 6.984 kB / 0.729 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.5365, allocations: 7.609 kB / 0.729 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5365, allocations: 6.75 kB / 0.729 GB, free: 5.762 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004201/0.5369, allocations: 387.8 kB / 0.7294 GB, free: 5.402 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.537, allocations: 114.6 kB / 0.7295 GB, free: 5.289 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.5371, allocations: 8.875 kB / 0.7295 GB, free: 5.285 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.5373, allocations: 15.64 kB / 0.7295 GB, free: 5.285 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.5373, allocations: 17.16 kB / 0.7295 GB, free: 5.277 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.5373, allocations: 4.125 kB / 0.7295 GB, free: 5.277 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000178/0.5375, allocations: 198.3 kB / 0.7297 GB, free: 5.168 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5375, allocations: 1.375 kB / 0.7297 GB, free: 5.168 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004263/0.5379, allocations: 93.23 kB / 0.7298 GB, free: 5.152 MB / 0.545 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 (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.00031/0.5383, allocations: 159.1 kB / 0.7299 GB, free: 5.043 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004668/0.5387, allocations: 174.7 kB / 0.7301 GB, free: 5.004 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.5387, allocations: 0 / 0.7301 GB, free: 5.004 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.5389, allocations: 77.83 kB / 0.7302 GB, free: 4.977 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000743/0.5397, allocations: 140.6 kB / 0.7303 GB, free: 4.938 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007142/0.5404, allocations: 0.4969 MB / 0.7308 GB, free: 4.582 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.5407, allocations: 0.7591 MB / 0.7315 GB, free: 3.883 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002213/0.541, allocations: 68.56 kB / 0.7316 GB, free: 3.871 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.453e-05/0.541, allocations: 20.61 kB / 0.7316 GB, free: 3.863 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.541, allocations: 0 / 0.7316 GB, free: 3.863 MB / 0.545 GB Notification: Performance of Templates: time 0.007583/0.5486, allocations: 4.13 MB / 0.7357 GB, free: 3.578 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: