Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001148/0.001148, allocations: 101 kB / 16.41 MB, free: 6.465 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.001071/0.001071, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8182/0.8182, allocations: 132.2 MB / 423.4 MB, free: 6.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 67.25 kB / 0.582 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1484, allocations: 80.21 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03124/0.1797, allocations: 29.82 MB / 0.6895 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01174/0.1915, allocations: 8.148 MB / 0.6974 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001283/0.1928, allocations: 31.75 kB / 0.6974 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.1942, allocations: 432.9 kB / 0.6979 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004016/0.1982, allocations: 1.368 MB / 0.6992 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003056/0.2013, allocations: 1.142 MB / 0.7003 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004197/0.2055, allocations: 3.547 MB / 0.7038 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00194/0.2075, allocations: 1.333 MB / 0.7051 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002908/0.2104, allocations: 1.691 MB / 0.7067 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003052/0.2135, allocations: 1.62 MB / 0.7083 GB, free: 9.008 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0006315/0.2141, allocations: 128 kB / 0.7084 GB, free: 8.883 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002438/0.2166, allocations: 1.014 MB / 0.7094 GB, free: 7.867 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006792/0.2172, allocations: 410.7 kB / 0.7098 GB, free: 7.465 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001415/0.2187, allocations: 0.7467 MB / 0.7105 GB, free: 6.715 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00331/0.222, allocations: 2.205 MB / 0.7127 GB, free: 4.504 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.222, allocations: 0 / 0.7127 GB, free: 4.504 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.903e-06/0.222, allocations: 8 kB / 0.7127 GB, free: 4.496 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.307e-05/0.2221, allocations: 0 / 0.7127 GB, free: 4.496 MB / 0.545 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.003391/0.2255, allocations: 1.667 MB / 0.7143 GB, free: 2.777 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.2255, allocations: 8.031 kB / 0.7143 GB, free: 2.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003512/0.2259, allocations: 150.6 kB / 0.7145 GB, free: 2.621 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.2276, allocations: 0.9259 MB / 0.7154 GB, free: 1.637 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.79e-05/0.2277, allocations: 85.31 kB / 0.7155 GB, free: 1.555 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/0.2279, allocations: 116 kB / 0.7156 GB, free: 1.441 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.229, allocations: 0.6356 MB / 0.7162 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.229, allocations: 0 / 0.7162 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.241e-05/0.2291, allocations: 31.94 kB / 0.7162 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.2291, allocations: 12 kB / 0.7162 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008801/0.23, allocations: 468.8 kB / 0.7167 GB, free: 284 kB / 0.545 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.004285/0.2343, allocations: 2.867 MB / 0.7195 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000771/0.235, allocations: 307.3 kB / 0.7198 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004215/0.2355, allocations: 153.3 kB / 0.7199 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003831/0.2359, allocations: 344.7 kB / 0.7203 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.2359, allocations: 34.84 kB / 0.7203 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.756e-06/0.2359, allocations: 0 / 0.7203 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001743/0.2377, allocations: 0.5291 MB / 0.7208 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.2378, allocations: 59.34 kB / 0.7209 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/0.2393, allocations: 0.9036 MB / 0.7217 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001352/0.2394, allocations: 57.7 kB / 0.7218 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004073/0.2398, allocations: 490.6 kB / 0.7223 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.508e-05/0.2399, allocations: 110.4 kB / 0.7224 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003892/0.2403, allocations: 298.9 kB / 0.7227 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.2404, allocations: 334.1 kB / 0.723 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004536/0.2409, allocations: 189.4 kB / 0.7232 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/0.2422, allocations: 1.163 MB / 0.7243 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007887/0.243, allocations: 455.4 kB / 0.7247 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.243, allocations: 0 / 0.7247 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001292/0.2443, allocations: 0.654 MB / 0.7254 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.2443, allocations: 5.875 kB / 0.7254 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.2443, allocations: 11.97 kB / 0.7254 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.2443, allocations: 4 kB / 0.7254 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.2457, allocations: 223.9 kB / 0.7256 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/0.2474, allocations: 2.953 MB / 0.7285 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003227/0.2506, allocations: 0.6989 MB / 0.7292 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.901e-05/0.2507, allocations: 31.98 kB / 0.7292 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006999/0.2514, allocations: 373.2 kB / 0.7296 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001304/0.2527, allocations: 1.162 MB / 0.7307 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007478/0.2535, allocations: 460.7 kB / 0.7311 GB, free: 244 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.707e-06/0.2535, allocations: 4 kB / 0.7311 GB, free: 240 kB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001392/0.2549, allocations: 0.6432 MB / 0.7318 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.2549, allocations: 8.312 kB / 0.7318 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.2549, allocations: 8 kB / 0.7318 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.133e-06/0.2549, allocations: 4 kB / 0.7318 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006476/0.2556, allocations: 163.7 kB / 0.7319 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.2556, allocations: 4 kB / 0.7319 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004376/0.26, allocations: 0.9613 MB / 0.7329 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.603e-05/0.26, allocations: 27.98 kB / 0.7329 GB, free: 14.41 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.000253/0.2603, allocations: 245 kB / 0.7331 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.2605, allocations: 102.7 kB / 0.7332 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.2616, allocations: 0.5088 MB / 0.7337 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.2616, allocations: 8 kB / 0.7337 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.2616, allocations: 4 kB / 0.7337 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.2616, allocations: 0 / 0.7337 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001914/0.2636, allocations: 1.253 MB / 0.735 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.2636, allocations: 8.125 kB / 0.735 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005112/0.2641, allocations: 115.8 kB / 0.7351 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.2641, allocations: 4 kB / 0.7351 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.2641, allocations: 15.94 kB / 0.7351 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/0.2656, allocations: 2.938 MB / 0.738 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2656, allocations: 4.094 kB / 0.738 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008564/0.2665, allocations: 0.5633 MB / 0.7385 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002711/0.2668, allocations: 219.7 kB / 0.7387 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.975e-05/0.2669, allocations: 8 kB / 0.7387 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004305/0.2673, allocations: 31.91 kB / 0.7388 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.783e-05/0.2674, allocations: 31.95 kB / 0.7388 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.899e-05/0.2675, allocations: 8 kB / 0.7388 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007021/0.2682, allocations: 0.6123 MB / 0.7394 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2682, allocations: 8 kB / 0.7394 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001477/0.2697, allocations: 0.5306 MB / 0.7399 GB, free: 6.945 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.0007119/0.2704, allocations: 329.8 kB / 0.7403 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002413/0.2728, allocations: 0.8398 MB / 0.7411 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.2728, allocations: 8.062 kB / 0.7411 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005547/0.2734, allocations: 228.9 kB / 0.7413 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/0.2751, allocations: 407.5 kB / 0.7417 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002436/0.2775, allocations: 1.565 MB / 0.7432 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005551/0.2781, allocations: 1.025 MB / 0.7442 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002314/0.2783, allocations: 79.42 kB / 0.7443 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of SimCode: time 5.31e-07/0.2783, allocations: 0 / 0.7443 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of Templates: time 0.3305/0.6089, allocations: 36.31 MB / 0.7798 GB, free: 67.15 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)