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.005465/0.005466, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001251/0.001251, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.372/1.372, allocations: 222.9 MB / 240.4 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.8386/0.8386, allocations: 135.2 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001215, allocations: 62.39 kB / 0.5856 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.166, allocations: 80.91 MB / 0.6646 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02887/0.1949, allocations: 29.83 MB / 0.6938 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01208/0.207, allocations: 8.146 MB / 0.7017 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/0.2086, allocations: 31.75 kB / 0.7018 GB, free: 15.69 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.2099, allocations: 440.9 kB / 0.7022 GB, free: 15.26 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003953/0.2139, allocations: 1.43 MB / 0.7036 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002845/0.2167, allocations: 1.153 MB / 0.7047 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004237/0.221, allocations: 3.544 MB / 0.7082 GB, free: 9.125 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001679/0.2227, allocations: 1.341 MB / 0.7095 GB, free: 7.773 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00249/0.2252, allocations: 1.699 MB / 0.7111 GB, free: 6.07 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002364/0.2275, allocations: 1.62 MB / 0.7127 GB, free: 4.445 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002829/0.2278, allocations: 124 kB / 0.7128 GB, free: 4.324 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001886/0.2297, allocations: 1.014 MB / 0.7138 GB, free: 3.309 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004419/0.2302, allocations: 406.7 kB / 0.7142 GB, free: 2.91 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008495/0.231, allocations: 0.7506 MB / 0.7149 GB, free: 2.156 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002433/0.2335, allocations: 2.209 MB / 0.7171 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2335, allocations: 0 / 0.7171 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2335, allocations: 0 / 0.7171 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.728e-05/0.2335, allocations: 0 / 0.7171 GB, free: 15.94 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.002545/0.2361, allocations: 1.675 MB / 0.7187 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.2361, allocations: 13.05 kB / 0.7187 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003642/0.2365, allocations: 154.6 kB / 0.7189 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/0.2381, allocations: 0.9182 MB / 0.7198 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.072e-05/0.2382, allocations: 81.31 kB / 0.7199 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001972/0.2384, allocations: 116 kB / 0.72 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.2394, allocations: 0.6395 MB / 0.7206 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.2394, allocations: 4 kB / 0.7206 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.203e-05/0.2395, allocations: 27.94 kB / 0.7206 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.2395, allocations: 15.98 kB / 0.7206 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008972/0.2404, allocations: 460.8 kB / 0.7211 GB, free: 11.71 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.004101/0.2445, allocations: 2.875 MB / 0.7239 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005922/0.2451, allocations: 303.2 kB / 0.7242 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002853/0.2454, allocations: 149.3 kB / 0.7243 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002991/0.2457, allocations: 340.7 kB / 0.7246 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.2458, allocations: 42.78 kB / 0.7247 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.673e-06/0.2458, allocations: 0 / 0.7247 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001238/0.247, allocations: 0.5244 MB / 0.7252 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.2471, allocations: 59.41 kB / 0.7253 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009711/0.2481, allocations: 0.9037 MB / 0.7261 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001215/0.2482, allocations: 53.7 kB / 0.7262 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004384/0.2486, allocations: 498.5 kB / 0.7267 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.987e-05/0.2487, allocations: 106.4 kB / 0.7268 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003866/0.2491, allocations: 291 kB / 0.727 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.2493, allocations: 338.1 kB / 0.7274 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003942/0.2497, allocations: 185.4 kB / 0.7275 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001354/0.251, allocations: 1.159 MB / 0.7287 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008029/0.2518, allocations: 455.4 kB / 0.7291 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.2518, allocations: 4 kB / 0.7291 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001254/0.2531, allocations: 0.6578 MB / 0.7298 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.2531, allocations: 4 kB / 0.7298 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.2531, allocations: 4 kB / 0.7298 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.2532, allocations: 4 kB / 0.7298 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/0.2546, allocations: 231.9 kB / 0.73 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/0.2563, allocations: 2.953 MB / 0.7329 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003135/0.2594, allocations: 0.699 MB / 0.7336 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.387e-05/0.2595, allocations: 27.98 kB / 0.7336 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007712/0.2603, allocations: 377.2 kB / 0.7339 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001411/0.2617, allocations: 1.158 MB / 0.7351 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007743/0.2625, allocations: 460.7 kB / 0.7355 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.013e-06/0.2625, allocations: 0 / 0.7355 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001361/0.2639, allocations: 0.6589 MB / 0.7362 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.2639, allocations: 7.938 kB / 0.7362 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2639, allocations: 4 kB / 0.7362 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.664e-06/0.2639, allocations: 4 kB / 0.7362 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006297/0.2645, allocations: 155.8 kB / 0.7363 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.2646, allocations: 8 kB / 0.7363 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004325/0.2689, allocations: 0.9614 MB / 0.7373 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.888e-05/0.269, allocations: 28 kB / 0.7373 GB, free: 9.852 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.0002986/0.2693, allocations: 245.1 kB / 0.7375 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.2694, allocations: 98.72 kB / 0.7376 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.2706, allocations: 0.5165 MB / 0.7381 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.2706, allocations: 7.938 kB / 0.7381 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2707, allocations: 0 / 0.7381 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.2707, allocations: 0 / 0.7381 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002217/0.2729, allocations: 1.254 MB / 0.7394 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.2729, allocations: 0 / 0.7394 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005467/0.2735, allocations: 119.8 kB / 0.7395 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/0.2735, allocations: 4 kB / 0.7395 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.2735, allocations: 11.94 kB / 0.7395 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001493/0.275, allocations: 2.942 MB / 0.7424 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.275, allocations: 0 / 0.7424 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008988/0.2759, allocations: 0.5674 MB / 0.7429 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003027/0.2762, allocations: 211.8 kB / 0.7431 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.2764, allocations: 8 kB / 0.7431 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004805/0.2769, allocations: 31.91 kB / 0.7432 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.52e-05/0.277, allocations: 31.95 kB / 0.7432 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.863e-05/0.277, allocations: 16 kB / 0.7432 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007755/0.2778, allocations: 0.6084 MB / 0.7438 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2778, allocations: 0 / 0.7438 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00156/0.2793, allocations: 0.5345 MB / 0.7443 GB, free: 2.398 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.0007854/0.2801, allocations: 340.1 kB / 0.7446 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002751/0.2829, allocations: 0.8543 MB / 0.7455 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.2829, allocations: 0 / 0.7455 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005937/0.2835, allocations: 227.8 kB / 0.7457 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001836/0.2854, allocations: 408.4 kB / 0.7461 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3364/0.6217, allocations: 1.503 MB / 0.7475 GB, free: 77.86 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006847/0.6225, allocations: 1.027 MB / 0.7485 GB, free: 77.16 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00121/0.6237, allocations: 206.4 kB / 0.7487 GB, free: 77.14 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002182/0.6239, allocations: 82 kB / 0.7488 GB, free: 77.14 MB / 0.5762 GB Notification: Performance of SimCode: time 1.182e-06/0.6239, allocations: 0.8438 kB / 0.7488 GB, free: 77.14 MB / 0.5762 GB Notification: Performance of Templates: time 0.04666/0.6706, allocations: 25 MB / 0.7732 GB, free: 69.15 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)