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.001661/0.001661, allocations: 106.5 kB / 16.41 MB, free: 6.508 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.001839/0.001839, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8458/0.8458, allocations: 135.2 MB / 426.4 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 63.75 kB / 0.5863 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1644, allocations: 80.93 MB / 0.6654 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03474/0.1991, allocations: 29.88 MB / 0.6945 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01329/0.2124, allocations: 8.145 MB / 0.7025 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001765/0.2142, allocations: 31.75 kB / 0.7025 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.2158, allocations: 448.9 kB / 0.703 GB, free: 15.08 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004616/0.2204, allocations: 1.437 MB / 0.7044 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00314/0.2235, allocations: 1.141 MB / 0.7055 GB, free: 12.51 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00504/0.2286, allocations: 3.547 MB / 0.7089 GB, free: 8.957 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002048/0.2306, allocations: 1.232 MB / 0.7101 GB, free: 7.715 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003358/0.234, allocations: 1.695 MB / 0.7118 GB, free: 6.016 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003172/0.2371, allocations: 1.624 MB / 0.7134 GB, free: 4.387 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004374/0.2376, allocations: 124 kB / 0.7135 GB, free: 4.266 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002325/0.2399, allocations: 1.018 MB / 0.7145 GB, free: 3.246 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005018/0.2404, allocations: 406.6 kB / 0.7149 GB, free: 2.848 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.2416, allocations: 0.7623 MB / 0.7156 GB, free: 2.082 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003628/0.2452, allocations: 2.211 MB / 0.7178 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.2452, allocations: 0 / 0.7178 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2452, allocations: 0 / 0.7178 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.525e-05/0.2452, allocations: 3.938 kB / 0.7178 GB, free: 15.86 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.003341/0.2486, allocations: 1.712 MB / 0.7195 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.2486, allocations: 9.109 kB / 0.7195 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004818/0.2491, allocations: 163.3 kB / 0.7196 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00195/0.251, allocations: 0.9346 MB / 0.7205 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.741e-05/0.2511, allocations: 81.31 kB / 0.7206 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002132/0.2513, allocations: 116 kB / 0.7207 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.2526, allocations: 0.6395 MB / 0.7214 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.2526, allocations: 0 / 0.7214 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.848e-05/0.2526, allocations: 31.94 kB / 0.7214 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/0.2527, allocations: 12 kB / 0.7214 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009834/0.2536, allocations: 460.8 kB / 0.7218 GB, free: 11.58 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.005257/0.2589, allocations: 2.864 MB / 0.7246 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006759/0.2596, allocations: 295.8 kB / 0.7249 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003117/0.2599, allocations: 133.3 kB / 0.725 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003793/0.2603, allocations: 348.7 kB / 0.7254 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.2603, allocations: 38.84 kB / 0.7254 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.375e-06/0.2603, allocations: 0 / 0.7254 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001549/0.2619, allocations: 0.5327 MB / 0.7259 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.2619, allocations: 55.41 kB / 0.726 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.2631, allocations: 0.9114 MB / 0.7269 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001676/0.2633, allocations: 61.7 kB / 0.7269 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005289/0.2638, allocations: 487.3 kB / 0.7274 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.264, allocations: 123 kB / 0.7275 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004947/0.2645, allocations: 295 kB / 0.7278 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.2646, allocations: 326.1 kB / 0.7281 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004619/0.2651, allocations: 197.4 kB / 0.7283 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001682/0.2668, allocations: 1.151 MB / 0.7294 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009334/0.2677, allocations: 463.4 kB / 0.7299 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2677, allocations: 0 / 0.7299 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001637/0.2693, allocations: 0.6545 MB / 0.7305 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.2694, allocations: 8 kB / 0.7305 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.2694, allocations: 0 / 0.7305 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.081e-05/0.2694, allocations: 4 kB / 0.7305 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/0.2709, allocations: 239.9 kB / 0.7307 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/0.273, allocations: 2.954 MB / 0.7336 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003483/0.2765, allocations: 0.7027 MB / 0.7343 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/0.2767, allocations: 27.98 kB / 0.7343 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008683/0.2775, allocations: 373.2 kB / 0.7347 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001574/0.2791, allocations: 1.154 MB / 0.7358 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008718/0.28, allocations: 460.9 kB / 0.7363 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.545e-06/0.28, allocations: 0 / 0.7363 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001632/0.2816, allocations: 0.6595 MB / 0.7369 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.2816, allocations: 8 kB / 0.7369 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2816, allocations: 0 / 0.7369 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2816, allocations: 11.98 kB / 0.7369 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006892/0.2823, allocations: 163.8 kB / 0.7371 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.2823, allocations: 4 kB / 0.7371 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004455/0.2868, allocations: 0.9577 MB / 0.738 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.68e-05/0.2869, allocations: 27.98 kB / 0.738 GB, free: 9.719 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.0003506/0.2872, allocations: 249 kB / 0.7383 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002456/0.2875, allocations: 103.3 kB / 0.7384 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.2887, allocations: 0.5124 MB / 0.7389 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.2887, allocations: 4 kB / 0.7389 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.2888, allocations: 0 / 0.7389 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.2888, allocations: 3.984 kB / 0.7389 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002129/0.2909, allocations: 1.25 MB / 0.7401 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.2909, allocations: 0 / 0.7401 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005517/0.2914, allocations: 115.8 kB / 0.7402 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.2915, allocations: 4 kB / 0.7402 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/0.2915, allocations: 15.92 kB / 0.7402 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/0.2932, allocations: 2.95 MB / 0.7431 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.2932, allocations: 4.031 kB / 0.7431 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.2943, allocations: 0.5686 MB / 0.7437 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003315/0.2946, allocations: 212.3 kB / 0.7439 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.2947, allocations: 15.98 kB / 0.7439 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004489/0.2952, allocations: 27.91 kB / 0.7439 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.107e-05/0.2953, allocations: 27.97 kB / 0.744 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/0.2953, allocations: 15.98 kB / 0.744 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008331/0.2961, allocations: 0.6084 MB / 0.7446 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2961, allocations: 0 / 0.7446 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001611/0.2977, allocations: 0.5457 MB / 0.7451 GB, free: 2.242 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.0008159/0.2985, allocations: 342.4 kB / 0.7454 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002813/0.3014, allocations: 0.8035 MB / 0.7462 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3014, allocations: 0 / 0.7462 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006081/0.302, allocations: 223.8 kB / 0.7464 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002009/0.304, allocations: 402.5 kB / 0.7468 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3177/0.6217, allocations: 1.573 MB / 0.7483 GB, free: 77.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006183/0.6223, allocations: 1.03 MB / 0.7493 GB, free: 77 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000365/0.6227, allocations: 84.72 kB / 0.7494 GB, free: 77 MB / 0.5762 GB Notification: Performance of SimCode: time 1.132e-06/0.6227, allocations: 0 / 0.7494 GB, free: 77 MB / 0.5762 GB Notification: Performance of Templates: time 0.04837/0.671, allocations: 36.27 MB / 0.7848 GB, free: 61.07 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)