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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.009885/0.009885, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001497/0.001498, allocations: 191 kB / 16.67 MB, free: 5.969 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8163/0.8163, allocations: 132.2 MB / 422.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 62.75 kB / 0.5813 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1818, allocations: 80.21 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.7018/0.8837, allocations: 161.5 MB / 0.8174 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003573/0.8873, allocations: 1.706 MB / 0.8191 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004284/0.8877, allocations: 10.94 kB / 0.8191 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006749/0.8885, allocations: 162.1 kB / 0.8192 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.89, allocations: 0.5293 MB / 0.8197 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.8912, allocations: 433.5 kB / 0.8201 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008086/0.892, allocations: 0.5676 MB / 0.8207 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000318/0.8923, allocations: 180 kB / 0.8209 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006572/0.893, allocations: 332.3 kB / 0.8212 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.8932, allocations: 154.6 kB / 0.8213 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.8932, allocations: 10.66 kB / 0.8213 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.8943, allocations: 0.7018 MB / 0.822 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.8945, allocations: 81.28 kB / 0.8221 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.8946, allocations: 116.4 kB / 0.8222 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007433/0.8953, allocations: 0.5019 MB / 0.8227 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.8954, allocations: 0 / 0.8227 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8954, allocations: 0 / 0.8227 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.8954, allocations: 4 kB / 0.8227 GB, free: 6.629 MB / 0.5919 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.0008513/0.8962, allocations: 0.5824 MB / 0.8233 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.8963, allocations: 7.688 kB / 0.8233 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003642/0.8967, allocations: 57.17 kB / 0.8233 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005106/0.8972, allocations: 306.6 kB / 0.8236 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.8972, allocations: 16.05 kB / 0.8237 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.8972, allocations: 13.56 kB / 0.8237 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003857/0.8976, allocations: 191.6 kB / 0.8239 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.8977, allocations: 3.625 kB / 0.8239 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.8977, allocations: 10.38 kB / 0.8239 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.8977, allocations: 2.531 kB / 0.8239 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000301/0.898, allocations: 126 kB / 0.824 GB, free: 5.562 MB / 0.5919 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.001116/0.8991, allocations: 0.7823 MB / 0.8248 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002746/0.8994, allocations: 86.06 kB / 0.8248 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.8996, allocations: 75.47 kB / 0.8249 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002853/0.8999, allocations: 191.7 kB / 0.8251 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.8999, allocations: 33.06 kB / 0.8251 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.8999, allocations: 0 / 0.8251 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006651/0.9006, allocations: 215 kB / 0.8253 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.9006, allocations: 61.53 kB / 0.8254 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.9009, allocations: 265.7 kB / 0.8256 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.901, allocations: 32.23 kB / 0.8257 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.9011, allocations: 142.4 kB / 0.8258 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.9011, allocations: 40.28 kB / 0.8258 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-05/0.9012, allocations: 34.23 kB / 0.8259 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0003583/0.9015, allocations: 327.7 kB / 0.8262 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.9017, allocations: 57.38 kB / 0.8262 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.9018, allocations: 88.2 kB / 0.8263 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/0.9021, allocations: 129.4 kB / 0.8264 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.9021, allocations: 2 kB / 0.8265 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003263/0.9025, allocations: 153.8 kB / 0.8266 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.9025, allocations: 8.844 kB / 0.8266 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.9025, allocations: 3.984 kB / 0.8266 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.9025, allocations: 2.75 kB / 0.8266 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.9026, allocations: 24.98 kB / 0.8266 GB, free: 3.289 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.9027, allocations: 4.031 kB / 0.8266 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.9028, allocations: 14.52 kB / 0.8267 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.9029, allocations: 4.719 kB / 0.8267 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001958/0.9031, allocations: 144.4 kB / 0.8268 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001508/0.9032, allocations: 95.58 kB / 0.8269 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002267/0.9035, allocations: 117.6 kB / 0.827 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/0.9035, allocations: 192 / 0.827 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003062/0.9038, allocations: 156.8 kB / 0.8271 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.246e-06/0.9038, allocations: 14.91 kB / 0.8272 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-06/0.9038, allocations: 6.219 kB / 0.8272 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.457e-06/0.9038, allocations: 3.938 kB / 0.8272 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.9039, allocations: 25.33 kB / 0.8272 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.686e-06/0.904, allocations: 5.172 kB / 0.8272 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.9041, allocations: 15.02 kB / 0.8272 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.9041, allocations: 9.734 kB / 0.8272 GB, free: 2.883 MB / 0.5919 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.0001135/0.9043, allocations: 182.4 kB / 0.8274 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/0.9043, allocations: 32.31 kB / 0.8274 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003637/0.9047, allocations: 160.7 kB / 0.8276 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.9047, allocations: 0 / 0.8276 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.9047, allocations: 2.031 kB / 0.8276 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.9047, allocations: 0 / 0.8276 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008549/0.9056, allocations: 0.5933 MB / 0.8282 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.9056, allocations: 2.75 kB / 0.8282 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.9057, allocations: 21.7 kB / 0.8282 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.9057, allocations: 10.73 kB / 0.8282 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.9057, allocations: 2.938 kB / 0.8282 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.9057, allocations: 6.375 kB / 0.8282 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.9057, allocations: 2.469 kB / 0.8282 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003711/0.9061, allocations: 295.3 kB / 0.8285 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.642e-05/0.9062, allocations: 116.9 kB / 0.8286 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.6e-05/0.9063, allocations: 4.031 kB / 0.8286 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.9065, allocations: 15.67 kB / 0.8286 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.9065, allocations: 16.64 kB / 0.8286 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.9065, allocations: 4.875 kB / 0.8286 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001837/0.9067, allocations: 198.4 kB / 0.8288 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9067, allocations: 0 / 0.8288 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004716/0.9072, allocations: 93.92 kB / 0.8289 GB, free: 1.48 MB / 0.5919 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.0004052/0.9076, allocations: 161.9 kB / 0.8291 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005016/0.9081, allocations: 166.7 kB / 0.8292 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.9081, allocations: 2.188 kB / 0.8292 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.9083, allocations: 64.92 kB / 0.8293 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007493/0.9091, allocations: 117.8 kB / 0.8294 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000819/0.9099, allocations: 425.4 kB / 0.8298 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.9103, allocations: 0.7584 MB / 0.8306 GB, free: 148 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00024/0.9105, allocations: 69.66 kB / 0.8306 GB, free: 112 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.186e-05/0.9106, allocations: 26.56 kB / 0.8306 GB, free: 100 kB / 0.5919 GB Notification: Performance of SimCode: time 2e-07/0.9106, allocations: 0 / 0.8306 GB, free: 100 kB / 0.5919 GB Notification: Performance of Templates: time 0.009756/0.9204, allocations: 4.402 MB / 0.8349 GB, free: 13.92 MB / 0.6075 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)