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.001064/0.001064, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001129/0.001129, allocations: 194.5 kB / 16.25 MB, free: 6.625 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.318/1.318, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7819/0.7819, allocations: 132.2 MB / 422.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 59.22 kB / 0.5013 GB, free: 9.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1608, allocations: 80.21 MB / 0.5796 GB, free: 9.16 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.3198/0.4806, allocations: 29.59 MB / 0.6085 GB, free: 35.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01001/0.4907, allocations: 8.105 MB / 0.6164 GB, free: 35.55 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001566/0.4923, allocations: 31.66 kB / 0.6165 GB, free: 35.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.4935, allocations: 363.5 kB / 0.6168 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003768/0.4973, allocations: 1.28 MB / 0.618 GB, free: 35.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002731/0.5, allocations: 1.038 MB / 0.6191 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003327/0.5034, allocations: 3.546 MB / 0.6225 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001331/0.5047, allocations: 1.302 MB / 0.6238 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003959/0.5087, allocations: 1.706 MB / 0.6255 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00361/0.5123, allocations: 1.662 MB / 0.6271 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006663/0.513, allocations: 126 kB / 0.6272 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00329/0.5163, allocations: 1.022 MB / 0.6282 GB, free: 32.49 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005979/0.5169, allocations: 417.3 kB / 0.6286 GB, free: 32.29 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001394/0.5183, allocations: 0.7469 MB / 0.6293 GB, free: 31.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003305/0.5217, allocations: 2.185 MB / 0.6315 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.5217, allocations: 0 / 0.6315 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.175e-06/0.5217, allocations: 0 / 0.6315 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.034e-05/0.5217, allocations: 0 / 0.6315 GB, free: 31.29 MB / 0.4981 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.004015/0.5258, allocations: 1.675 MB / 0.6331 GB, free: 30.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.5258, allocations: 13.06 kB / 0.6331 GB, free: 30.24 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005954/0.5264, allocations: 153.4 kB / 0.6333 GB, free: 30.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002205/0.5287, allocations: 0.8824 MB / 0.6341 GB, free: 29.69 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.085e-05/0.5288, allocations: 82.12 kB / 0.6342 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003022/0.5291, allocations: 115.2 kB / 0.6343 GB, free: 29.63 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.5307, allocations: 0.6343 MB / 0.6349 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/0.5307, allocations: 4 kB / 0.6349 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-05/0.5308, allocations: 26.22 kB / 0.635 GB, free: 29.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.5308, allocations: 15.28 kB / 0.635 GB, free: 29.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.5321, allocations: 463.6 kB / 0.6354 GB, free: 29.17 MB / 0.4981 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.005732/0.5378, allocations: 2.864 MB / 0.6382 GB, free: 27.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008488/0.5387, allocations: 305.1 kB / 0.6385 GB, free: 27.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004373/0.5392, allocations: 153.3 kB / 0.6386 GB, free: 27.21 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003321/0.5395, allocations: 342.8 kB / 0.639 GB, free: 26.83 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.5395, allocations: 35.72 kB / 0.639 GB, free: 26.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.505e-06/0.5396, allocations: 0 / 0.639 GB, free: 26.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001948/0.5415, allocations: 0.5307 MB / 0.6395 GB, free: 26.58 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.5416, allocations: 58.59 kB / 0.6396 GB, free: 26.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.543, allocations: 0.9098 MB / 0.6405 GB, free: 26.14 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001966/0.5432, allocations: 54.33 kB / 0.6405 GB, free: 26.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005664/0.5438, allocations: 0.531 MB / 0.641 GB, free: 25.72 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.5439, allocations: 111.5 kB / 0.6411 GB, free: 25.63 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005882/0.5445, allocations: 291.4 kB / 0.6414 GB, free: 25.54 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.239e-05/0.5446, allocations: 334.3 kB / 0.6417 GB, free: 25.22 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005939/0.5452, allocations: 193.2 kB / 0.6419 GB, free: 25.15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001658/0.5469, allocations: 1.151 MB / 0.6431 GB, free: 24.05 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.5481, allocations: 464.6 kB / 0.6435 GB, free: 23.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.5482, allocations: 0 / 0.6435 GB, free: 23.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002201/0.5504, allocations: 0.6469 MB / 0.6441 GB, free: 23.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.5504, allocations: 6.062 kB / 0.6441 GB, free: 23.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.5504, allocations: 3.719 kB / 0.6441 GB, free: 23.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.746e-05/0.5505, allocations: 9 kB / 0.6441 GB, free: 23.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002356/0.5528, allocations: 236.2 kB / 0.6444 GB, free: 23.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.5544, allocations: 2.962 MB / 0.6473 GB, free: 20.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00586/0.5603, allocations: 0.7228 MB / 0.648 GB, free: 20.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001489/0.5604, allocations: 26.42 kB / 0.648 GB, free: 20.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001114/0.5616, allocations: 369 kB / 0.6483 GB, free: 20.28 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001316/0.5629, allocations: 1.159 MB / 0.6495 GB, free: 19.15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007748/0.5637, allocations: 460.3 kB / 0.6499 GB, free: 18.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.886e-06/0.5637, allocations: 1.031 kB / 0.6499 GB, free: 18.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001693/0.5654, allocations: 0.6596 MB / 0.6506 GB, free: 18.63 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.5654, allocations: 7.531 kB / 0.6506 GB, free: 18.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.5654, allocations: 2.5 kB / 0.6506 GB, free: 18.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.5655, allocations: 6 kB / 0.6506 GB, free: 18.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007332/0.5662, allocations: 157.2 kB / 0.6507 GB, free: 18.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.5662, allocations: 6.734 kB / 0.6507 GB, free: 18.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004681/0.5709, allocations: 0.9874 MB / 0.6517 GB, free: 18.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.309e-05/0.571, allocations: 30.38 kB / 0.6517 GB, free: 18.52 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.0003832/0.5714, allocations: 238.7 kB / 0.652 GB, free: 18.31 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/0.5717, allocations: 99.12 kB / 0.652 GB, free: 18.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.573, allocations: 0.5147 MB / 0.6526 GB, free: 18.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.573, allocations: 9.203 kB / 0.6526 GB, free: 18.03 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.573, allocations: 0 / 0.6526 GB, free: 18.03 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.573, allocations: 2.156 kB / 0.6526 GB, free: 18.03 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002236/0.5752, allocations: 1.257 MB / 0.6538 GB, free: 17.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.627e-06/0.5753, allocations: 1.312 kB / 0.6538 GB, free: 17.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005531/0.5758, allocations: 116.1 kB / 0.6539 GB, free: 17.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.5758, allocations: 4.047 kB / 0.6539 GB, free: 17.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.5759, allocations: 14.33 kB / 0.6539 GB, free: 17.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000834/0.5767, allocations: 2.941 MB / 0.6568 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.5767, allocations: 1.672 kB / 0.6568 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009418/0.5777, allocations: 0.5656 MB / 0.6573 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003228/0.578, allocations: 211 kB / 0.6575 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.5781, allocations: 11.34 kB / 0.6576 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005344/0.5787, allocations: 65.09 kB / 0.6576 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.88e-05/0.5788, allocations: 30.3 kB / 0.6576 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.823e-05/0.5788, allocations: 17.34 kB / 0.6577 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008507/0.5797, allocations: 0.6045 MB / 0.6583 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5797, allocations: 3.938 kB / 0.6583 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002034/0.5817, allocations: 0.5372 MB / 0.6588 GB, free: 13.48 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.0007782/0.5825, allocations: 333.3 kB / 0.6591 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00301/0.5855, allocations: 0.8713 MB / 0.66 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.5856, allocations: 1.094 kB / 0.66 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006048/0.5862, allocations: 229.2 kB / 0.6602 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002024/0.5882, allocations: 412.6 kB / 0.6606 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003071/0.5913, allocations: 1.849 MB / 0.6624 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006181/0.5919, allocations: 1.026 MB / 0.6634 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001373/0.5933, allocations: 209.4 kB / 0.6636 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.5935, allocations: 79.41 kB / 0.6636 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of SimCode: time 7.91e-07/0.5935, allocations: 0 / 0.6636 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of Templates: time 0.04695/0.6405, allocations: 24.75 MB / 0.6878 GB, free: 2.273 MB / 0.4981 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)