Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop") translateModel(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0007596/0.0007594, allocations: 98.72 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008759/0.0008759, allocations: 181.8 kB / 16.92 MB, free: 6.918 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.326/1.326, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.902/0.902, allocations: 135.3 MB / 427.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003264/0.0003264, allocations: 8 kB / 0.5082 GB, free: 4.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1391, allocations: 82.31 MB / 0.5886 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.4545/0.5937, allocations: 157.2 MB / 0.7421 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003433/0.5971, allocations: 1.703 MB / 0.7438 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005169/0.5977, allocations: 9.062 kB / 0.7438 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006375/0.5983, allocations: 134.4 kB / 0.7439 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.6, allocations: 491.3 kB / 0.7444 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.6013, allocations: 378.8 kB / 0.7447 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001109/0.6024, allocations: 0.7619 MB / 0.7455 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003498/0.6028, allocations: 146.6 kB / 0.7456 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007338/0.6035, allocations: 292.4 kB / 0.7459 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003102/0.6039, allocations: 150.6 kB / 0.746 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.912e-05/0.6039, allocations: 7.938 kB / 0.7461 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001444/0.6054, allocations: 0.776 MB / 0.7468 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.6055, allocations: 79.8 kB / 0.7469 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001892/0.6057, allocations: 135.2 kB / 0.747 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006295/0.6063, allocations: 349.8 kB / 0.7473 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.6063, allocations: 0 / 0.7473 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.053e-06/0.6064, allocations: 1.375 kB / 0.7473 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.6064, allocations: 0 / 0.7473 GB, free: 7.137 MB / 0.5606 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.0009907/0.6074, allocations: 0.5407 MB / 0.7479 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.6074, allocations: 9.625 kB / 0.7479 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000457/0.6079, allocations: 60.45 kB / 0.7479 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004426/0.6083, allocations: 291.9 kB / 0.7482 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.6084, allocations: 13.48 kB / 0.7482 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.6084, allocations: 15 kB / 0.7482 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004224/0.6088, allocations: 204.8 kB / 0.7484 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.6089, allocations: 1.375 kB / 0.7484 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.6089, allocations: 5.375 kB / 0.7485 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.6089, allocations: 2.75 kB / 0.7485 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003252/0.6092, allocations: 135 kB / 0.7486 GB, free: 6.105 MB / 0.5606 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.001137/0.6104, allocations: 0.7954 MB / 0.7494 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.6106, allocations: 90.16 kB / 0.7494 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.6108, allocations: 81.56 kB / 0.7495 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00032/0.6112, allocations: 188.2 kB / 0.7497 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.6112, allocations: 32.78 kB / 0.7497 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.6112, allocations: 0 / 0.7497 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0007301/0.6119, allocations: 241.6 kB / 0.75 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.612, allocations: 58.31 kB / 0.75 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.6123, allocations: 270 kB / 0.7503 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.6123, allocations: 25.7 kB / 0.7503 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.3e-05/0.6124, allocations: 145.4 kB / 0.7504 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.6124, allocations: 32.94 kB / 0.7505 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.6125, allocations: 20.64 kB / 0.7505 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.6126, allocations: 327.5 kB / 0.7508 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.6127, allocations: 52.89 kB / 0.7509 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.6129, allocations: 98.58 kB / 0.7509 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/0.6132, allocations: 131.8 kB / 0.7511 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.6132, allocations: 3.938 kB / 0.7511 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003585/0.6136, allocations: 166.2 kB / 0.7512 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.672e-05/0.6137, allocations: 119.8 kB / 0.7513 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.6137, allocations: 3.984 kB / 0.7514 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.6137, allocations: 2.625 kB / 0.7514 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.6138, allocations: 31.42 kB / 0.7514 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.6138, allocations: 3.938 kB / 0.7514 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.614, allocations: 19.92 kB / 0.7514 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.6141, allocations: 6.062 kB / 0.7514 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.993e-06/0.6141, allocations: 6.562 kB / 0.7514 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000279/0.6144, allocations: 121.2 kB / 0.7515 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.6144, allocations: 3 kB / 0.7515 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-06/0.6144, allocations: 0 / 0.7515 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.6145, allocations: 22.23 kB / 0.7516 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.6145, allocations: 11.19 kB / 0.7516 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.6147, allocations: 27.98 kB / 0.7516 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.6147, allocations: 3.406 kB / 0.7516 GB, free: 3.613 MB / 0.5606 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.0001637/0.6149, allocations: 218.5 kB / 0.7518 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/0.615, allocations: 23.88 kB / 0.7518 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003695/0.6153, allocations: 176.3 kB / 0.752 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.6154, allocations: 5.344 kB / 0.752 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.6154, allocations: 0 / 0.752 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6154, allocations: 3.812 kB / 0.752 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008985/0.6163, allocations: 0.6028 MB / 0.7526 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.6163, allocations: 1.297 kB / 0.7526 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.6164, allocations: 33.22 kB / 0.7526 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.6164, allocations: 2.688 kB / 0.7526 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.6164, allocations: 2.656 kB / 0.7526 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.623e-06/0.6164, allocations: 6.641 kB / 0.7526 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.6165, allocations: 2.688 kB / 0.7526 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003886/0.6168, allocations: 307.4 kB / 0.7529 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.617, allocations: 116.8 kB / 0.753 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.617, allocations: 6.125 kB / 0.7531 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.6172, allocations: 21.48 kB / 0.7531 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.6173, allocations: 18.67 kB / 0.7531 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.6173, allocations: 3 kB / 0.7531 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001781/0.6175, allocations: 195.8 kB / 0.7533 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6175, allocations: 0 / 0.7533 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004693/0.618, allocations: 89.33 kB / 0.7534 GB, free: 2.188 MB / 0.5606 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.0004152/0.6184, allocations: 173.9 kB / 0.7535 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004737/0.6189, allocations: 177.9 kB / 0.7537 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.6189, allocations: 3.938 kB / 0.7537 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.619, allocations: 77.14 kB / 0.7538 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009211/0.62, allocations: 128.7 kB / 0.7539 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007885/0.6208, allocations: 0.5427 MB / 0.7544 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.6211, allocations: 0.7537 MB / 0.7552 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.011e-05/0.6212, allocations: 19.59 kB / 0.7552 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.6212, allocations: 0 / 0.7552 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of Templates: time 0.006625/0.6278, allocations: 3.717 MB / 0.7588 GB, free: 13.73 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)