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.001275/0.001275, allocations: 110.7 kB / 16.42 MB, free: 6.5 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.001272/0.001272, allocations: 185.4 kB / 17.35 MB, free: 5.738 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.357/1.357, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7796/0.7796, allocations: 132.2 MB / 423.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 69.42 kB / 0.582 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1454, allocations: 80.22 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.5279/0.6734, allocations: 161.5 MB / 0.8181 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002988/0.6764, allocations: 1.713 MB / 0.8197 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004543/0.6769, allocations: 9.625 kB / 0.8197 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006153/0.6775, allocations: 164.4 kB / 0.8199 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.679, allocations: 0.5223 MB / 0.8204 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.6802, allocations: 422.5 kB / 0.8208 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000814/0.681, allocations: 0.5772 MB / 0.8214 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003441/0.6814, allocations: 184 kB / 0.8215 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000704/0.6821, allocations: 325.3 kB / 0.8219 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.6824, allocations: 147.2 kB / 0.822 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.784e-05/0.6824, allocations: 15.12 kB / 0.822 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.6836, allocations: 0.7036 MB / 0.8227 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.6837, allocations: 85.41 kB / 0.8228 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.6839, allocations: 122.7 kB / 0.8229 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008736/0.6848, allocations: 0.4942 MB / 0.8234 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.6848, allocations: 4 kB / 0.8234 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6848, allocations: 0 / 0.8234 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.6848, allocations: 0 / 0.8234 GB, free: 6.605 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.0009127/0.6857, allocations: 0.5824 MB / 0.824 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.6858, allocations: 8.938 kB / 0.824 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003606/0.6861, allocations: 59.78 kB / 0.824 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005039/0.6866, allocations: 308.3 kB / 0.8243 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.6867, allocations: 13.33 kB / 0.8243 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/0.6867, allocations: 14.66 kB / 0.8243 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003721/0.6871, allocations: 192.7 kB / 0.8245 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.6871, allocations: 0 / 0.8245 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.6871, allocations: 6.094 kB / 0.8245 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.6871, allocations: 2.375 kB / 0.8245 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002973/0.6874, allocations: 130.2 kB / 0.8247 GB, free: 5.535 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.001125/0.6886, allocations: 0.7777 MB / 0.8254 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.6889, allocations: 89.7 kB / 0.8255 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.689, allocations: 80.16 kB / 0.8256 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002824/0.6893, allocations: 182.7 kB / 0.8257 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.6894, allocations: 39.59 kB / 0.8258 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.953e-06/0.6894, allocations: 0 / 0.8258 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.000676/0.6901, allocations: 218.9 kB / 0.826 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.6901, allocations: 54.22 kB / 0.826 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.6904, allocations: 273.1 kB / 0.8263 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.363e-05/0.6904, allocations: 28.92 kB / 0.8263 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.6905, allocations: 144.1 kB / 0.8265 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/0.6906, allocations: 38.27 kB / 0.8265 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.739e-05/0.6907, allocations: 34.36 kB / 0.8265 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.6908, allocations: 327.1 kB / 0.8269 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.6909, allocations: 47.88 kB / 0.8269 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.6911, allocations: 102 kB / 0.827 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.6914, allocations: 124.1 kB / 0.8271 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6914, allocations: 0 / 0.8271 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003212/0.6917, allocations: 153.1 kB / 0.8273 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.6917, allocations: 9.406 kB / 0.8273 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.6917, allocations: 6.375 kB / 0.8273 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.6917, allocations: 0 / 0.8273 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.6919, allocations: 29.81 kB / 0.8273 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.6919, allocations: 3.938 kB / 0.8273 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.6921, allocations: 13.45 kB / 0.8273 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.6921, allocations: 5.5 kB / 0.8273 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001874/0.6923, allocations: 144.2 kB / 0.8275 GB, free: 3.145 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001449/0.6924, allocations: 92.39 kB / 0.8276 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002181/0.6927, allocations: 115.6 kB / 0.8277 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.223e-06/0.6927, allocations: 6.688 kB / 0.8277 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.000302/0.693, allocations: 161 kB / 0.8278 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.053e-06/0.693, allocations: 2.75 kB / 0.8278 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-06/0.693, allocations: 2.25 kB / 0.8278 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.52e-06/0.693, allocations: 6.531 kB / 0.8278 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.6931, allocations: 22.8 kB / 0.8279 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.247e-06/0.6931, allocations: 2.688 kB / 0.8279 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.6933, allocations: 22.8 kB / 0.8279 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.6933, allocations: 5.812 kB / 0.8279 GB, free: 2.863 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.0001103/0.6934, allocations: 186.7 kB / 0.8281 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.041e-05/0.6935, allocations: 23.91 kB / 0.8281 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003519/0.6939, allocations: 163.8 kB / 0.8282 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.6939, allocations: 0 / 0.8282 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.6939, allocations: 0 / 0.8282 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.694, allocations: 118.3 kB / 0.8284 GB, free: 2.434 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.694, allocations: 0 / 0.8284 GB, free: 2.434 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.6942, allocations: 13.73 kB / 0.8284 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.6943, allocations: 8.859 kB / 0.8284 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003671/0.6946, allocations: 218.4 kB / 0.8286 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003597/0.695, allocations: 327.8 kB / 0.8289 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001261/0.6951, allocations: 45.16 kB / 0.8289 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001632/0.6953, allocations: 198.5 kB / 0.8291 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of Backend: time 5e-07/0.6953, allocations: 3.938 kB / 0.8291 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001137/0.6965, allocations: 343.1 kB / 0.8295 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of SimCode: time 0.001145/0.6976, allocations: 0.9044 MB / 0.8303 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of Templates: time 0.01076/0.7084, allocations: 5.896 MB / 0.8361 GB, free: 13.91 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)