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.0016/0.0016, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001359/0.001359, allocations: 193.9 kB / 16.25 MB, free: 6.625 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.411/1.411, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9776/0.9776, allocations: 135.6 MB / 425.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 65.59 kB / 0.5054 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1678, allocations: 81.02 MB / 0.5845 GB, free: 4.285 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.4416/0.6094, allocations: 159.3 MB / 0.7401 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003043/0.6125, allocations: 1.693 MB / 0.7417 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003101/0.6129, allocations: 8.312 kB / 0.7417 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005367/0.6134, allocations: 138.4 kB / 0.7418 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.6147, allocations: 499 kB / 0.7423 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.6158, allocations: 382.5 kB / 0.7427 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007605/0.6166, allocations: 0.5672 MB / 0.7432 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003098/0.6169, allocations: 174.2 kB / 0.7434 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006308/0.6175, allocations: 314.1 kB / 0.7437 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.6178, allocations: 163.6 kB / 0.7439 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.992e-05/0.6178, allocations: 11.94 kB / 0.7439 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.6189, allocations: 0.7136 MB / 0.7446 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.996e-05/0.619, allocations: 73.91 kB / 0.7446 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.6192, allocations: 123.3 kB / 0.7448 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007592/0.6199, allocations: 0.5257 MB / 0.7453 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6199, allocations: 2.188 kB / 0.7453 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.163e-06/0.62, allocations: 0 / 0.7453 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.62, allocations: 0 / 0.7453 GB, free: 5.961 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.0008685/0.6208, allocations: 0.5845 MB / 0.7458 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.6209, allocations: 9.375 kB / 0.7459 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003231/0.6212, allocations: 59.92 kB / 0.7459 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/0.6216, allocations: 285.5 kB / 0.7462 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.6216, allocations: 13.34 kB / 0.7462 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.6216, allocations: 14.66 kB / 0.7462 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003704/0.622, allocations: 196.5 kB / 0.7464 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.622, allocations: 3.938 kB / 0.7464 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.6221, allocations: 6.719 kB / 0.7464 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.6221, allocations: 2.812 kB / 0.7464 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.6224, allocations: 134.4 kB / 0.7465 GB, free: 4.891 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.001076/0.6234, allocations: 0.7802 MB / 0.7473 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/0.6237, allocations: 86.97 kB / 0.7474 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.6239, allocations: 76.45 kB / 0.7475 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003653/0.6242, allocations: 188.9 kB / 0.7476 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.6243, allocations: 30.56 kB / 0.7477 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.6243, allocations: 0 / 0.7477 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006498/0.6249, allocations: 228.8 kB / 0.7479 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.625, allocations: 51.41 kB / 0.7479 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.6253, allocations: 271.5 kB / 0.7482 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.6253, allocations: 29.7 kB / 0.7482 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.6254, allocations: 148.4 kB / 0.7484 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.101e-05/0.6255, allocations: 36.66 kB / 0.7484 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.627e-05/0.6255, allocations: 24.22 kB / 0.7484 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.6257, allocations: 340.3 kB / 0.7487 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.6258, allocations: 44.48 kB / 0.7488 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.626, allocations: 94.94 kB / 0.7489 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002423/0.6263, allocations: 117.5 kB / 0.749 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6263, allocations: 0 / 0.749 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000329/0.6266, allocations: 163.2 kB / 0.7491 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.6266, allocations: 5.25 kB / 0.7492 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.6266, allocations: 3.938 kB / 0.7492 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.6267, allocations: 7.281 kB / 0.7492 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.6268, allocations: 23.77 kB / 0.7492 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.6268, allocations: 7.531 kB / 0.7492 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.627, allocations: 25.56 kB / 0.7492 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.627, allocations: 6.719 kB / 0.7492 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001896/0.6272, allocations: 147.2 kB / 0.7494 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001547/0.6274, allocations: 92.52 kB / 0.7495 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002227/0.6276, allocations: 117.3 kB / 0.7496 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.6276, allocations: 2.469 kB / 0.7496 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003021/0.628, allocations: 162.7 kB / 0.7497 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.612e-06/0.628, allocations: 5.031 kB / 0.7497 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-06/0.628, allocations: 2.531 kB / 0.7497 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.348e-06/0.628, allocations: 3.938 kB / 0.7497 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.6281, allocations: 22.2 kB / 0.7498 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.033e-06/0.6281, allocations: 0 / 0.7498 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.6283, allocations: 26.08 kB / 0.7498 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.6283, allocations: 7.156 kB / 0.7498 GB, free: 2.207 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.0001171/0.6284, allocations: 195.7 kB / 0.75 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.693e-05/0.6285, allocations: 22.09 kB / 0.75 GB, free: 2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004005/0.6289, allocations: 166.1 kB / 0.7502 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.6289, allocations: 0 / 0.7502 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.6289, allocations: 0 / 0.7502 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.6289, allocations: 0 / 0.7502 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008953/0.6298, allocations: 0.5825 MB / 0.7507 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.6298, allocations: 7.531 kB / 0.7507 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.6299, allocations: 21.45 kB / 0.7507 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-06/0.6299, allocations: 6.844 kB / 0.7508 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.63, allocations: 6.844 kB / 0.7508 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-06/0.63, allocations: 6.234 kB / 0.7508 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.63, allocations: 2.75 kB / 0.7508 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003823/0.6304, allocations: 289.4 kB / 0.751 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.6305, allocations: 118.1 kB / 0.7512 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.589e-05/0.6305, allocations: 6.75 kB / 0.7512 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.6307, allocations: 18.8 kB / 0.7512 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.6308, allocations: 24.39 kB / 0.7512 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.6308, allocations: 2.75 kB / 0.7512 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001851/0.631, allocations: 194.2 kB / 0.7514 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.631, allocations: 7.125 kB / 0.7514 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004502/0.6315, allocations: 99.52 kB / 0.7515 GB, free: 0.7969 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.0003944/0.6319, allocations: 155.5 kB / 0.7516 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004421/0.6323, allocations: 167.6 kB / 0.7518 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.6323, allocations: 4 kB / 0.7518 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.6325, allocations: 62.53 kB / 0.7519 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006898/0.6332, allocations: 130.6 kB / 0.752 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000751/0.6339, allocations: 0.5013 MB / 0.7525 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.6343, allocations: 0.7558 MB / 0.7532 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002174/0.6345, allocations: 69.89 kB / 0.7533 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/0.6346, allocations: 19.44 kB / 0.7533 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of SimCode: time 2.11e-07/0.6346, allocations: 0 / 0.7533 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of Templates: time 0.00908/0.6437, allocations: 4.3 MB / 0.7575 GB, free: 10.9 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)