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.001003/0.001003, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00698/0.006981, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.469/1.469, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9897/0.9897, allocations: 135.3 MB / 426.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004977/0.0004974, allocations: 12.98 kB / 0.5076 GB, free: 4.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2105, allocations: 82.31 MB / 0.588 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.5141/0.7246, allocations: 157.2 MB / 0.7415 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003716/0.7284, allocations: 1.698 MB / 0.7431 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003287/0.7287, allocations: 8.062 kB / 0.7431 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007804/0.7295, allocations: 130.6 kB / 0.7433 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001932/0.7315, allocations: 495.2 kB / 0.7437 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.733, allocations: 380.4 kB / 0.7441 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001331/0.7344, allocations: 0.762 MB / 0.7448 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003434/0.7347, allocations: 150.1 kB / 0.745 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008621/0.7356, allocations: 289.9 kB / 0.7453 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.7359, allocations: 150.5 kB / 0.7454 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.7359, allocations: 6.875 kB / 0.7454 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001679/0.7376, allocations: 0.7818 MB / 0.7462 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.7377, allocations: 73.59 kB / 0.7462 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.7379, allocations: 133.1 kB / 0.7464 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008213/0.7387, allocations: 0.5139 MB / 0.7469 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.7387, allocations: 0 / 0.7469 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.396e-06/0.7388, allocations: 1.375 kB / 0.7469 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.7388, allocations: 0 / 0.7469 GB, free: 7.012 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.0009293/0.7397, allocations: 0.5445 MB / 0.7474 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.7398, allocations: 9.625 kB / 0.7474 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003991/0.7402, allocations: 64.39 kB / 0.7475 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004019/0.7406, allocations: 287.9 kB / 0.7477 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.7406, allocations: 9.5 kB / 0.7478 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.18e-05/0.7406, allocations: 15 kB / 0.7478 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004257/0.7411, allocations: 208.8 kB / 0.748 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.7411, allocations: 0 / 0.748 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.7411, allocations: 6.75 kB / 0.748 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.7411, allocations: 2.75 kB / 0.748 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003342/0.7415, allocations: 135.3 kB / 0.7481 GB, free: 5.973 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.001157/0.7426, allocations: 0.7887 MB / 0.7489 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.7429, allocations: 88.78 kB / 0.749 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.7431, allocations: 86.73 kB / 0.749 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003406/0.7435, allocations: 188.2 kB / 0.7492 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.7435, allocations: 35.7 kB / 0.7493 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.7435, allocations: 0 / 0.7493 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0007508/0.7443, allocations: 236.4 kB / 0.7495 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.7443, allocations: 59.41 kB / 0.7495 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/0.7446, allocations: 266 kB / 0.7498 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.7447, allocations: 28.61 kB / 0.7498 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.7448, allocations: 143.2 kB / 0.75 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.7448, allocations: 36.11 kB / 0.75 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.7449, allocations: 16.69 kB / 0.75 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.745, allocations: 332.6 kB / 0.7503 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.7451, allocations: 48.59 kB / 0.7504 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.7453, allocations: 98.05 kB / 0.7505 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.7456, allocations: 132.6 kB / 0.7506 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.7456, allocations: 0 / 0.7506 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003568/0.746, allocations: 172.7 kB / 0.7508 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.011e-05/0.7461, allocations: 117.1 kB / 0.7509 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.7461, allocations: 3.594 kB / 0.7509 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.7461, allocations: 10.53 kB / 0.7509 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.7462, allocations: 32.27 kB / 0.7509 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.7462, allocations: 3.938 kB / 0.7509 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.7465, allocations: 26.19 kB / 0.7509 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.7465, allocations: 3.062 kB / 0.7509 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.755e-06/0.7465, allocations: 6.031 kB / 0.751 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000268/0.7468, allocations: 113.8 kB / 0.7511 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.716e-06/0.7468, allocations: 3.625 kB / 0.7511 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-06/0.7468, allocations: 0 / 0.7511 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.7469, allocations: 26.48 kB / 0.7511 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.7469, allocations: 11.62 kB / 0.7511 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.7471, allocations: 29.12 kB / 0.7511 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.7471, allocations: 4.094 kB / 0.7511 GB, free: 3.484 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.0001714/0.7473, allocations: 214.1 kB / 0.7513 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.718e-05/0.7474, allocations: 24.16 kB / 0.7514 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000389/0.7478, allocations: 174.2 kB / 0.7515 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.7478, allocations: 3.938 kB / 0.7515 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.7478, allocations: 0 / 0.7515 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.7478, allocations: 2.75 kB / 0.7515 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009242/0.7487, allocations: 0.6029 MB / 0.7521 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.7487, allocations: 0 / 0.7521 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.7489, allocations: 29.27 kB / 0.7521 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.7489, allocations: 2.656 kB / 0.7522 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.7489, allocations: 3.344 kB / 0.7522 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.7489, allocations: 3.344 kB / 0.7522 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7489, allocations: 0 / 0.7522 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00039/0.7493, allocations: 317.3 kB / 0.7525 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.7494, allocations: 108.8 kB / 0.7526 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.7494, allocations: 2.969 kB / 0.7526 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.7496, allocations: 23.92 kB / 0.7526 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.7497, allocations: 19.2 kB / 0.7526 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.7497, allocations: 2.969 kB / 0.7526 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001883/0.7499, allocations: 203.5 kB / 0.7528 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7499, allocations: 0 / 0.7528 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004976/0.7504, allocations: 89.53 kB / 0.7529 GB, free: 2.066 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.0004806/0.7509, allocations: 181 kB / 0.7531 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005168/0.7514, allocations: 181.1 kB / 0.7532 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.7515, allocations: 0 / 0.7532 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.7516, allocations: 68.09 kB / 0.7533 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000913/0.7526, allocations: 124.3 kB / 0.7534 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007598/0.7533, allocations: 0.5183 MB / 0.7539 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.7537, allocations: 0.7522 MB / 0.7547 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002124/0.7539, allocations: 69.12 kB / 0.7547 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.649e-05/0.754, allocations: 23.77 kB / 0.7547 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.754, allocations: 2.5 kB / 0.7547 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of Templates: time 0.009218/0.7632, allocations: 4.257 MB / 0.7589 GB, free: 13.05 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)