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.001026/0.001031, allocations: 104.3 kB / 16.36 MB, free: 5.824 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.001089/0.001089, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.223/1.223, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7375/0.7375, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 55.91 kB / 0.5067 GB, free: 7.645 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3028, allocations: 80.91 MB / 0.5858 GB, free: 25.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.01977/0.3226, allocations: 29.83 MB / 0.6149 GB, free: 12.65 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01008/0.3327, allocations: 8.137 MB / 0.6228 GB, free: 4.523 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008263/0.3336, allocations: 31.75 kB / 0.6229 GB, free: 4.492 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009321/0.3345, allocations: 425 kB / 0.6233 GB, free: 4.074 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002718/0.3373, allocations: 1.374 MB / 0.6246 GB, free: 2.699 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002313/0.3396, allocations: 1.154 MB / 0.6257 GB, free: 1.559 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003262/0.3429, allocations: 3.544 MB / 0.6292 GB, free: 14 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.3443, allocations: 1.339 MB / 0.6305 GB, free: 12.66 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001927/0.3462, allocations: 1.675 MB / 0.6321 GB, free: 10.98 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002131/0.3483, allocations: 1.616 MB / 0.6337 GB, free: 9.355 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002685/0.3486, allocations: 128 kB / 0.6338 GB, free: 9.23 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/0.3506, allocations: 1.018 MB / 0.6348 GB, free: 8.211 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004674/0.351, allocations: 410.7 kB / 0.6352 GB, free: 7.809 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008234/0.3519, allocations: 0.7545 MB / 0.636 GB, free: 7.051 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002072/0.3539, allocations: 2.205 MB / 0.6381 GB, free: 4.844 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.354, allocations: 0 / 0.6381 GB, free: 4.844 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.354, allocations: 3.984 kB / 0.6381 GB, free: 4.84 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.354, allocations: 0 / 0.6381 GB, free: 4.84 MB / 478.1 MB 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.002417/0.3564, allocations: 1.677 MB / 0.6398 GB, free: 3.109 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.3564, allocations: 13.09 kB / 0.6398 GB, free: 3.098 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003076/0.3568, allocations: 154.8 kB / 0.6399 GB, free: 2.945 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/0.3585, allocations: 0.9183 MB / 0.6408 GB, free: 1.969 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.661e-05/0.3586, allocations: 81.31 kB / 0.6409 GB, free: 1.891 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/0.3588, allocations: 116 kB / 0.641 GB, free: 1.777 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009293/0.3597, allocations: 0.6356 MB / 0.6416 GB, free: 1.113 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.3598, allocations: 0 / 0.6416 GB, free: 1.113 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.496e-05/0.3598, allocations: 24 kB / 0.6416 GB, free: 1.09 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.3598, allocations: 19.94 kB / 0.6417 GB, free: 1.07 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008048/0.3607, allocations: 464.8 kB / 0.6421 GB, free: 0.6172 MB / 478.1 MB 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.003966/0.3646, allocations: 2.871 MB / 0.6449 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005656/0.3652, allocations: 312.8 kB / 0.6452 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/0.3655, allocations: 145.3 kB / 0.6453 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000281/0.3658, allocations: 344.7 kB / 0.6457 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.3658, allocations: 42.84 kB / 0.6457 GB, free: 12.68 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.542e-06/0.3658, allocations: 0 / 0.6457 GB, free: 12.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001125/0.3669, allocations: 0.5283 MB / 0.6462 GB, free: 12.14 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.367, allocations: 51.41 kB / 0.6463 GB, free: 12.08 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009198/0.3679, allocations: 0.9075 MB / 0.6472 GB, free: 11.15 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.368, allocations: 57.7 kB / 0.6472 GB, free: 11.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003753/0.3684, allocations: 486.6 kB / 0.6477 GB, free: 10.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.499e-05/0.3685, allocations: 118.3 kB / 0.6478 GB, free: 10.49 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003805/0.3689, allocations: 291 kB / 0.6481 GB, free: 10.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.369, allocations: 330.1 kB / 0.6484 GB, free: 9.875 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003767/0.3694, allocations: 197.3 kB / 0.6486 GB, free: 9.676 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/0.3706, allocations: 1.147 MB / 0.6497 GB, free: 8.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007451/0.3713, allocations: 463.4 kB / 0.6501 GB, free: 7.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3714, allocations: 0 / 0.6501 GB, free: 7.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001179/0.3725, allocations: 0.6462 MB / 0.6508 GB, free: 7.031 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3726, allocations: 8 kB / 0.6508 GB, free: 7.023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3726, allocations: 4 kB / 0.6508 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.3726, allocations: 8 kB / 0.6508 GB, free: 7.012 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.3739, allocations: 235.9 kB / 0.651 GB, free: 6.781 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/0.3755, allocations: 2.954 MB / 0.6539 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00291/0.3784, allocations: 0.6947 MB / 0.6546 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.994e-05/0.3785, allocations: 31.92 kB / 0.6546 GB, free: 2.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005938/0.3791, allocations: 369.3 kB / 0.655 GB, free: 2.617 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001233/0.3803, allocations: 1.162 MB / 0.6561 GB, free: 1.078 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000734/0.3811, allocations: 456.8 kB / 0.6565 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.204e-06/0.3811, allocations: 0 / 0.6565 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001323/0.3824, allocations: 0.659 MB / 0.6572 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3824, allocations: 10.03 kB / 0.6572 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3824, allocations: 3.984 kB / 0.6572 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/0.3825, allocations: 8 kB / 0.6572 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006611/0.3831, allocations: 155.8 kB / 0.6573 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.3831, allocations: 4 kB / 0.6574 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003935/0.3871, allocations: 0.9692 MB / 0.6583 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.337e-05/0.3871, allocations: 24 kB / 0.6583 GB, free: 14.76 MB / 0.4981 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.0002557/0.3874, allocations: 250.3 kB / 0.6586 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.3875, allocations: 94.78 kB / 0.6587 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.3886, allocations: 0.5086 MB / 0.6591 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.3886, allocations: 11.98 kB / 0.6592 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.3887, allocations: 0 / 0.6592 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3887, allocations: 0 / 0.6592 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/0.3906, allocations: 1.25 MB / 0.6604 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.3906, allocations: 0 / 0.6604 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005113/0.3911, allocations: 115.8 kB / 0.6605 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3911, allocations: 7.938 kB / 0.6605 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.3912, allocations: 11.94 kB / 0.6605 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00132/0.3925, allocations: 2.946 MB / 0.6634 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3925, allocations: 4.031 kB / 0.6634 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008328/0.3934, allocations: 0.5635 MB / 0.6639 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002702/0.3936, allocations: 211.7 kB / 0.6641 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.612e-05/0.3937, allocations: 8 kB / 0.6641 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004169/0.3942, allocations: 31.91 kB / 0.6642 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.33e-05/0.3942, allocations: 27.95 kB / 0.6642 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.3943, allocations: 20 kB / 0.6642 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007067/0.395, allocations: 0.6084 MB / 0.6648 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.395, allocations: 0 / 0.6648 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00126/0.3963, allocations: 0.5461 MB / 0.6654 GB, free: 7.297 MB / 0.4981 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.0006592/0.3969, allocations: 317.8 kB / 0.6657 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00226/0.3992, allocations: 0.8505 MB / 0.6665 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3992, allocations: 0 / 0.6665 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000543/0.3998, allocations: 231.8 kB / 0.6667 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.4013, allocations: 410 kB / 0.6671 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.4035, allocations: 1.506 MB / 0.6686 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005154/0.404, allocations: 1.025 MB / 0.6696 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006605/0.4047, allocations: 212.5 kB / 0.6698 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.4049, allocations: 79.42 kB / 0.6698 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.4049, allocations: 0 / 0.6698 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of Templates: time 0.0351/0.44, allocations: 24.91 MB / 0.6942 GB, free: 10.14 MB / 0.5294 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)