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.001344/0.001344, allocations: 105.4 kB / 16.41 MB, free: 6.496 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.001497/0.001497, allocations: 193.6 kB / 17.34 MB, free: 5.75 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.454/1.454, 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.8887/0.8887, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 64.53 kB / 0.5863 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.164, 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.03597/0.2, allocations: 29.82 MB / 0.6944 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01191/0.212, allocations: 8.142 MB / 0.7024 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001484/0.2135, allocations: 31.75 kB / 0.7024 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.2148, allocations: 424.9 kB / 0.7028 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004105/0.2189, allocations: 1.383 MB / 0.7042 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002899/0.2218, allocations: 1.146 MB / 0.7053 GB, free: 12.72 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004408/0.2262, allocations: 3.544 MB / 0.7087 GB, free: 9.168 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002148/0.2284, allocations: 1.333 MB / 0.71 GB, free: 7.824 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003161/0.2316, allocations: 1.699 MB / 0.7117 GB, free: 6.121 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003273/0.2349, allocations: 1.62 MB / 0.7133 GB, free: 4.496 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0007946/0.2357, allocations: 128 kB / 0.7134 GB, free: 4.371 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002779/0.2385, allocations: 1.022 MB / 0.7144 GB, free: 3.348 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0009045/0.2394, allocations: 406.7 kB / 0.7148 GB, free: 2.949 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001786/0.2412, allocations: 0.7466 MB / 0.7155 GB, free: 2.199 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004052/0.2453, allocations: 2.205 MB / 0.7177 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.2453, allocations: 0 / 0.7177 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.536e-06/0.2453, allocations: 0 / 0.7177 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.722e-05/0.2454, allocations: 3.938 kB / 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.003926/0.2493, allocations: 1.667 MB / 0.7193 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.2494, allocations: 9.109 kB / 0.7193 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006457/0.2501, allocations: 158.6 kB / 0.7195 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002458/0.2525, allocations: 0.9182 MB / 0.7204 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.785e-05/0.2526, allocations: 85.31 kB / 0.7204 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003511/0.253, allocations: 116 kB / 0.7206 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.2543, allocations: 0.6356 MB / 0.7212 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.2543, allocations: 0 / 0.7212 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.979e-05/0.2544, allocations: 31.88 kB / 0.7212 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.2544, allocations: 16 kB / 0.7212 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009865/0.2554, allocations: 464.8 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.005519/0.261, allocations: 2.871 MB / 0.7245 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006579/0.2616, allocations: 311.2 kB / 0.7248 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003375/0.262, allocations: 145.3 kB / 0.7249 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004327/0.2625, allocations: 344.7 kB / 0.7252 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.552e-05/0.2625, allocations: 38.84 kB / 0.7253 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 4.288e-06/0.2625, allocations: 0 / 0.7253 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001801/0.2644, allocations: 0.5283 MB / 0.7258 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.2644, allocations: 55.41 kB / 0.7258 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/0.266, allocations: 0.9037 MB / 0.7267 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003098/0.2664, allocations: 53.7 kB / 0.7268 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006117/0.267, allocations: 494.5 kB / 0.7272 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.2671, allocations: 114.4 kB / 0.7274 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006167/0.2677, allocations: 291 kB / 0.7276 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.2679, allocations: 330.1 kB / 0.728 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004518/0.2683, allocations: 197.4 kB / 0.7281 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.2698, allocations: 1.147 MB / 0.7293 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008733/0.2707, allocations: 459.4 kB / 0.7297 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.2707, allocations: 4 kB / 0.7297 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001506/0.2722, allocations: 0.6461 MB / 0.7303 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.2722, allocations: 8 kB / 0.7303 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.2723, allocations: 0 / 0.7303 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.2723, allocations: 8 kB / 0.7303 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/0.2738, allocations: 239.9 kB / 0.7306 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/0.2756, allocations: 2.958 MB / 0.7335 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003443/0.2791, allocations: 0.6909 MB / 0.7341 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.636e-05/0.2792, allocations: 23.98 kB / 0.7342 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008938/0.2801, allocations: 373.2 kB / 0.7345 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0015/0.2816, allocations: 1.162 MB / 0.7357 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008394/0.2824, allocations: 456.7 kB / 0.7361 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.429e-06/0.2825, allocations: 0 / 0.7361 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001727/0.2842, allocations: 0.6626 MB / 0.7367 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.2842, allocations: 8 kB / 0.7367 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.2842, allocations: 4 kB / 0.7367 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.2843, allocations: 7.938 kB / 0.7368 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007186/0.285, allocations: 159.8 kB / 0.7369 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/0.285, allocations: 4 kB / 0.7369 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004712/0.2897, allocations: 0.9655 MB / 0.7379 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.2899, allocations: 31.94 kB / 0.7379 GB, free: 9.891 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.0004753/0.2904, allocations: 237.1 kB / 0.7381 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003385/0.2907, allocations: 98.77 kB / 0.7382 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/0.2921, allocations: 0.5047 MB / 0.7387 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/0.2922, allocations: 7.984 kB / 0.7387 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.2922, allocations: 0 / 0.7387 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.2922, allocations: 3.938 kB / 0.7387 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00249/0.2947, allocations: 1.257 MB / 0.7399 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.242e-05/0.2947, allocations: 4 kB / 0.7399 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005546/0.2953, allocations: 115.9 kB / 0.7401 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/0.2953, allocations: 3.984 kB / 0.7401 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.539e-05/0.2954, allocations: 15.94 kB / 0.7401 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/0.297, allocations: 2.938 MB / 0.7429 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.297, allocations: 4.031 kB / 0.7429 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.2981, allocations: 0.5635 MB / 0.7435 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004729/0.2986, allocations: 215.8 kB / 0.7437 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002121/0.2988, allocations: 8 kB / 0.7437 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005778/0.2994, allocations: 27.91 kB / 0.7437 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.2995, allocations: 27.97 kB / 0.7438 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-05/0.2995, allocations: 19.98 kB / 0.7438 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001054/0.3006, allocations: 0.6045 MB / 0.7444 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3006, allocations: 0 / 0.7444 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002534/0.3032, allocations: 0.5423 MB / 0.7449 GB, free: 2.445 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.001065/0.3042, allocations: 341.9 kB / 0.7452 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003065/0.3073, allocations: 0.8423 MB / 0.746 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3073, allocations: 0 / 0.746 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006066/0.3079, allocations: 232.7 kB / 0.7463 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002112/0.3101, allocations: 408 kB / 0.7467 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3282/0.6383, allocations: 1.549 MB / 0.7482 GB, free: 77.82 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008147/0.6392, allocations: 1.025 MB / 0.7492 GB, free: 77.12 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003919/0.6396, allocations: 85.86 kB / 0.7493 GB, free: 77.12 MB / 0.5762 GB Notification: Performance of SimCode: time 1.032e-06/0.6396, allocations: 0.9375 kB / 0.7493 GB, free: 77.12 MB / 0.5762 GB Notification: Performance of Templates: time 0.04951/0.6891, allocations: 36.33 MB / 0.7847 GB, free: 61.2 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)