Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.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.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.001359, allocations: 106 kB / 16.41 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.001326/0.001326, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.409/1.409, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8079/0.8079, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 62.47 kB / 0.5863 GB, free: 21.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1554, allocations: 80.92 MB / 0.6653 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03317/0.1886, allocations: 29.83 MB / 0.6944 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01219/0.2009, allocations: 8.146 MB / 0.7024 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00158/0.2025, allocations: 27.81 kB / 0.7024 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001627/0.2041, allocations: 424.9 kB / 0.7028 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004496/0.2087, allocations: 1.379 MB / 0.7042 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003385/0.2121, allocations: 1.15 MB / 0.7053 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004813/0.2169, allocations: 3.54 MB / 0.7087 GB, free: 9.164 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002476/0.2195, allocations: 1.337 MB / 0.7101 GB, free: 7.816 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003545/0.223, allocations: 1.695 MB / 0.7117 GB, free: 6.117 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003482/0.2266, allocations: 1.616 MB / 0.7133 GB, free: 4.496 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0008174/0.2274, allocations: 128 kB / 0.7134 GB, free: 4.371 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00282/0.2303, allocations: 1.018 MB / 0.7144 GB, free: 3.352 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008304/0.2311, allocations: 410.7 kB / 0.7148 GB, free: 2.949 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001698/0.2328, allocations: 0.7467 MB / 0.7155 GB, free: 2.199 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003998/0.2368, allocations: 2.212 MB / 0.7177 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2369, allocations: 0 / 0.7177 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.285e-06/0.2369, allocations: 0 / 0.7177 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.015e-05/0.237, allocations: 0 / 0.7177 GB, free: 15.98 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.003802/0.2408, allocations: 1.671 MB / 0.7193 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.2408, allocations: 9.109 kB / 0.7193 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006117/0.2414, allocations: 150.6 kB / 0.7195 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002006/0.2435, allocations: 0.9298 MB / 0.7204 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.996e-05/0.2436, allocations: 81.31 kB / 0.7205 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002124/0.2438, allocations: 124 kB / 0.7206 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.2448, allocations: 0.6317 MB / 0.7212 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.2449, allocations: 0 / 0.7212 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.492e-05/0.2449, allocations: 27.94 kB / 0.7212 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.245, allocations: 16 kB / 0.7212 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008831/0.2458, allocations: 460.9 kB / 0.7217 GB, free: 11.76 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.004841/0.2507, allocations: 2.875 MB / 0.7245 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006685/0.2514, allocations: 299.3 kB / 0.7248 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003136/0.2517, allocations: 145.3 kB / 0.7249 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003207/0.252, allocations: 344.6 kB / 0.7252 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.2521, allocations: 50.77 kB / 0.7253 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.224e-06/0.2521, allocations: 0 / 0.7253 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001377/0.2535, allocations: 0.5244 MB / 0.7258 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.2535, allocations: 51.41 kB / 0.7258 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.2547, allocations: 0.9075 MB / 0.7267 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001584/0.2548, allocations: 61.7 kB / 0.7268 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004616/0.2553, allocations: 486.5 kB / 0.7272 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.2554, allocations: 118.4 kB / 0.7274 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004627/0.2559, allocations: 287 kB / 0.7276 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.256, allocations: 330.1 kB / 0.7279 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004207/0.2565, allocations: 197.4 kB / 0.7281 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/0.2579, allocations: 1.151 MB / 0.7293 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008441/0.2587, allocations: 455.4 kB / 0.7297 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.2587, allocations: 0 / 0.7297 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001429/0.2602, allocations: 0.6539 MB / 0.7303 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.2602, allocations: 8 kB / 0.7303 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.2602, allocations: 0 / 0.7303 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.2602, allocations: 8 kB / 0.7303 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/0.2617, allocations: 239.8 kB / 0.7306 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/0.2634, allocations: 2.961 MB / 0.7335 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003387/0.2668, allocations: 0.6912 MB / 0.7341 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.612e-05/0.2669, allocations: 24 kB / 0.7342 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008849/0.2678, allocations: 373.2 kB / 0.7345 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001451/0.2693, allocations: 1.166 MB / 0.7357 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000824/0.2701, allocations: 452.7 kB / 0.7361 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.51e-06/0.2701, allocations: 0 / 0.7361 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.00163/0.2718, allocations: 0.6588 MB / 0.7367 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.2718, allocations: 8 kB / 0.7367 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2718, allocations: 0 / 0.7367 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.2718, allocations: 8 kB / 0.7368 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006814/0.2725, allocations: 155.8 kB / 0.7369 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/0.2725, allocations: 7.984 kB / 0.7369 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004591/0.2771, allocations: 0.9656 MB / 0.7379 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.2773, allocations: 27.98 kB / 0.7379 GB, free: 9.895 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003996/0.2777, allocations: 249 kB / 0.7381 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002809/0.278, allocations: 94.78 kB / 0.7382 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.2792, allocations: 0.5163 MB / 0.7387 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.2793, allocations: 4 kB / 0.7387 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.2793, allocations: 0 / 0.7387 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.2793, allocations: 3.984 kB / 0.7387 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/0.2817, allocations: 1.246 MB / 0.7399 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.894e-06/0.2817, allocations: 4 kB / 0.7399 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005532/0.2822, allocations: 119.8 kB / 0.7401 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.2823, allocations: 4 kB / 0.7401 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/0.2823, allocations: 11.94 kB / 0.7401 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001539/0.2839, allocations: 2.942 MB / 0.7429 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.2839, allocations: 8.016 kB / 0.7429 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.2849, allocations: 0.5635 MB / 0.7435 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003654/0.2853, allocations: 211.8 kB / 0.7437 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001687/0.2855, allocations: 8 kB / 0.7437 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005337/0.286, allocations: 35.89 kB / 0.7437 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.396e-05/0.2861, allocations: 27.91 kB / 0.7438 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.513e-05/0.2861, allocations: 16 kB / 0.7438 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008862/0.287, allocations: 0.6084 MB / 0.7444 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.287, allocations: 0 / 0.7444 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001791/0.2888, allocations: 0.5384 MB / 0.7449 GB, free: 2.438 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008722/0.2897, allocations: 335.2 kB / 0.7452 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002874/0.2926, allocations: 0.8504 MB / 0.7461 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.2926, allocations: 0 / 0.7461 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006047/0.2932, allocations: 227.9 kB / 0.7463 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/0.2955, allocations: 416.9 kB / 0.7467 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3002/0.5957, allocations: 1.538 MB / 0.7482 GB, free: 77.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005803/0.5963, allocations: 1.026 MB / 0.7492 GB, free: 77.14 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003208/0.5967, allocations: 81.75 kB / 0.7493 GB, free: 77.14 MB / 0.5762 GB Notification: Performance of SimCode: time 6.51e-07/0.5967, allocations: 0 / 0.7493 GB, free: 77.14 MB / 0.5762 GB Notification: Performance of Templates: time 0.04288/0.6396, allocations: 36.18 MB / 0.7846 GB, free: 61.29 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)