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.001397/0.001397, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001473/0.001473, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.281/1.281, allocations: 222.9 MB / 240.6 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7113/0.7113, allocations: 132.2 MB / 422.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 62.61 kB / 0.5019 GB, free: 4.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4188/0.4199, allocations: 80.21 MB / 0.5802 GB, free: 4.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03275/0.4527, allocations: 29.61 MB / 0.6091 GB, free: 15.02 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01219/0.4649, allocations: 8.102 MB / 0.6171 GB, free: 8.414 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00184/0.4668, allocations: 25.69 kB / 0.6171 GB, free: 8.402 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001454/0.4683, allocations: 361.6 kB / 0.6174 GB, free: 8.109 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004812/0.4731, allocations: 1.277 MB / 0.6187 GB, free: 7.133 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003479/0.4766, allocations: 1.035 MB / 0.6197 GB, free: 6.41 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004992/0.4816, allocations: 3.548 MB / 0.6231 GB, free: 4.43 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002386/0.4841, allocations: 1.314 MB / 0.6244 GB, free: 3.566 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00468/0.4888, allocations: 1.701 MB / 0.6261 GB, free: 2.691 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003494/0.4923, allocations: 1.659 MB / 0.6277 GB, free: 1.098 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007539/0.4931, allocations: 128 kB / 0.6278 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002907/0.496, allocations: 1.026 MB / 0.6288 GB, free: 15.94 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000842/0.4969, allocations: 410.6 kB / 0.6292 GB, free: 15.54 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001962/0.4988, allocations: 0.7428 MB / 0.6299 GB, free: 14.8 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002711/0.5016, allocations: 1.606 MB / 0.6315 GB, free: 13.19 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.5016, allocations: 0 / 0.6315 GB, free: 13.19 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5016, allocations: 0 / 0.6315 GB, free: 13.19 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.473e-05/0.5017, allocations: 0 / 0.6315 GB, free: 13.19 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.004381/0.5061, allocations: 1.665 MB / 0.6331 GB, free: 11.47 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.5061, allocations: 12.03 kB / 0.6332 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006761/0.5068, allocations: 154.8 kB / 0.6333 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/0.5089, allocations: 0.8947 MB / 0.6342 GB, free: 10.35 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.509, allocations: 85.31 kB / 0.6343 GB, free: 10.27 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002917/0.5093, allocations: 116 kB / 0.6344 GB, free: 10.16 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.5106, allocations: 0.6356 MB / 0.635 GB, free: 9.492 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.5106, allocations: 0 / 0.635 GB, free: 9.492 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.418e-05/0.5107, allocations: 24 kB / 0.635 GB, free: 9.469 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.5107, allocations: 27.81 kB / 0.635 GB, free: 9.441 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009206/0.5116, allocations: 464.8 kB / 0.6355 GB, free: 8.984 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.005308/0.5169, allocations: 2.852 MB / 0.6383 GB, free: 5.977 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006234/0.5176, allocations: 315.1 kB / 0.6386 GB, free: 5.66 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002983/0.5179, allocations: 145.3 kB / 0.6387 GB, free: 5.516 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003202/0.5182, allocations: 344.7 kB / 0.639 GB, free: 5.105 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.5183, allocations: 34.84 kB / 0.6391 GB, free: 5.062 MB / 478.1 MB Notification: Performance of pre-optimization done (n=33): time 2.355e-06/0.5183, allocations: 0 / 0.6391 GB, free: 5.062 MB / 478.1 MB Notification: Performance of matching and sorting (n=33): time 0.001428/0.5197, allocations: 0.5332 MB / 0.6396 GB, free: 4.523 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.5198, allocations: 59.34 kB / 0.6396 GB, free: 4.453 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/0.5212, allocations: 0.9037 MB / 0.6405 GB, free: 3.531 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002573/0.5215, allocations: 53.7 kB / 0.6406 GB, free: 3.473 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000651/0.5221, allocations: 0.5341 MB / 0.6411 GB, free: 2.934 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.5222, allocations: 110.3 kB / 0.6412 GB, free: 2.824 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006215/0.5229, allocations: 295 kB / 0.6415 GB, free: 2.531 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.523, allocations: 333.9 kB / 0.6418 GB, free: 2.199 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004261/0.5234, allocations: 189.4 kB / 0.642 GB, free: 2.012 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001571/0.525, allocations: 1.151 MB / 0.6431 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008093/0.5258, allocations: 459.4 kB / 0.6435 GB, free: 32 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.5259, allocations: 0 / 0.6435 GB, free: 32 kB / 478.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001462/0.5273, allocations: 0.654 MB / 0.6442 GB, free: 15.37 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.5274, allocations: 4 kB / 0.6442 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.5274, allocations: 7.984 kB / 0.6442 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.5274, allocations: 4 kB / 0.6442 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.5289, allocations: 235.7 kB / 0.6444 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/0.5307, allocations: 2.958 MB / 0.6473 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003532/0.5342, allocations: 0.7222 MB / 0.648 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.5343, allocations: 27.98 kB / 0.648 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009159/0.5353, allocations: 377.2 kB / 0.6484 GB, free: 10.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001486/0.5368, allocations: 1.158 MB / 0.6495 GB, free: 9.398 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008251/0.5376, allocations: 448.9 kB / 0.65 GB, free: 8.918 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.576e-06/0.5376, allocations: 4 kB / 0.65 GB, free: 8.914 MB / 494.1 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001682/0.5393, allocations: 0.6548 MB / 0.6506 GB, free: 8.25 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.5393, allocations: 4 kB / 0.6506 GB, free: 8.246 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.5394, allocations: 4 kB / 0.6506 GB, free: 8.242 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.5394, allocations: 7.984 kB / 0.6506 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007062/0.5401, allocations: 164 kB / 0.6508 GB, free: 8.074 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.5401, allocations: 12 kB / 0.6508 GB, free: 8.062 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004541/0.5447, allocations: 0.9846 MB / 0.6518 GB, free: 7.078 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.5448, allocations: 27.98 kB / 0.6518 GB, free: 7.051 MB / 494.1 MB 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.0004227/0.5452, allocations: 241.1 kB / 0.652 GB, free: 6.805 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002882/0.5455, allocations: 98.69 kB / 0.6521 GB, free: 6.707 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.5468, allocations: 0.4974 MB / 0.6526 GB, free: 6.199 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.5468, allocations: 7.984 kB / 0.6526 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.5469, allocations: 0 / 0.6526 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.5469, allocations: 7.984 kB / 0.6526 GB, free: 6.184 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/0.5493, allocations: 1.252 MB / 0.6538 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/0.5493, allocations: 11.98 kB / 0.6538 GB, free: 4.852 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005411/0.5498, allocations: 111.9 kB / 0.6539 GB, free: 4.742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.5498, allocations: 8.062 kB / 0.654 GB, free: 4.734 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.102e-05/0.5499, allocations: 15.98 kB / 0.654 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.5514, allocations: 2.934 MB / 0.6568 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.5515, allocations: 3.984 kB / 0.6568 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009994/0.5525, allocations: 0.5665 MB / 0.6574 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003965/0.5529, allocations: 215.7 kB / 0.6576 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.553, allocations: 11.94 kB / 0.6576 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005924/0.5536, allocations: 59.92 kB / 0.6577 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.368e-05/0.5537, allocations: 23.97 kB / 0.6577 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/0.5538, allocations: 16 kB / 0.6577 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00082/0.5546, allocations: 0.6045 MB / 0.6583 GB, free: 120 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5546, allocations: 0 / 0.6583 GB, free: 120 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.001699/0.5563, allocations: 0.5423 MB / 0.6588 GB, free: 15.57 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.0008033/0.5571, allocations: 340 kB / 0.6591 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002868/0.56, allocations: 0.866 MB / 0.66 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.56, allocations: 0 / 0.66 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005955/0.5606, allocations: 224.6 kB / 0.6602 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/0.5627, allocations: 405.9 kB / 0.6606 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/0.5657, allocations: 1.911 MB / 0.6625 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006728/0.5664, allocations: 1.025 MB / 0.6635 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/0.5667, allocations: 83.41 kB / 0.6635 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of SimCode: time 9.02e-07/0.5667, allocations: 0 / 0.6635 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of Templates: time 0.0415/0.6082, allocations: 36.1 MB / 0.6988 GB, free: 6.863 MB / 0.5294 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)