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.001341/0.001341, 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.001388/0.001388, allocations: 192.4 kB / 16.25 MB, free: 6.633 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.464/1.464, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9978/0.9978, allocations: 135.2 MB / 425.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00302/0.00302, allocations: 72.34 kB / 0.5049 GB, free: 5.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1915, allocations: 80.93 MB / 0.5839 GB, free: 4.871 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.3223/0.5139, allocations: 29.58 MB / 0.6128 GB, free: 35.72 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009944/0.5239, allocations: 8.127 MB / 0.6208 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001991/0.5259, allocations: 26.09 kB / 0.6208 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.5273, allocations: 361.7 kB / 0.6211 GB, free: 33.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004059/0.5313, allocations: 1.274 MB / 0.6224 GB, free: 33.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002746/0.5341, allocations: 1.032 MB / 0.6234 GB, free: 32.59 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003556/0.5376, allocations: 3.537 MB / 0.6268 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00149/0.5392, allocations: 1.309 MB / 0.6281 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002942/0.5421, allocations: 1.707 MB / 0.6298 GB, free: 30.13 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002428/0.5445, allocations: 1.652 MB / 0.6314 GB, free: 29.62 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003469/0.5449, allocations: 125.6 kB / 0.6315 GB, free: 29.62 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001839/0.5468, allocations: 1.023 MB / 0.6325 GB, free: 29.33 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003326/0.5471, allocations: 410.2 kB / 0.6329 GB, free: 29.12 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008057/0.5479, allocations: 0.7481 MB / 0.6336 GB, free: 28.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002485/0.5504, allocations: 2.19 MB / 0.6358 GB, free: 28.01 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.5504, allocations: 0 / 0.6358 GB, free: 28.01 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5504, allocations: 3.125 kB / 0.6358 GB, free: 28.01 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.932e-05/0.5505, allocations: 0 / 0.6358 GB, free: 28.01 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.002424/0.5529, allocations: 1.671 MB / 0.6374 GB, free: 26.96 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.5529, allocations: 9.25 kB / 0.6374 GB, free: 26.96 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003369/0.5533, allocations: 165.8 kB / 0.6376 GB, free: 26.88 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.5546, allocations: 0.884 MB / 0.6384 GB, free: 26.37 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.996e-05/0.5547, allocations: 81.41 kB / 0.6385 GB, free: 26.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/0.5549, allocations: 115 kB / 0.6386 GB, free: 26.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009174/0.5558, allocations: 0.6395 MB / 0.6393 GB, free: 26.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.5558, allocations: 0 / 0.6393 GB, free: 26.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.517e-05/0.5559, allocations: 26.19 kB / 0.6393 GB, free: 26 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.5559, allocations: 14.69 kB / 0.6393 GB, free: 26 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007264/0.5566, allocations: 463.3 kB / 0.6397 GB, free: 25.86 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.003681/0.5603, allocations: 2.87 MB / 0.6425 GB, free: 24.04 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000505/0.5608, allocations: 321 kB / 0.6428 GB, free: 23.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.5611, allocations: 147.9 kB / 0.643 GB, free: 23.85 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002485/0.5613, allocations: 342.5 kB / 0.6433 GB, free: 23.47 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.5614, allocations: 41.5 kB / 0.6434 GB, free: 23.42 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.104e-06/0.5614, allocations: 0 / 0.6434 GB, free: 23.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001176/0.5626, allocations: 0.5325 MB / 0.6439 GB, free: 23.21 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.5626, allocations: 54.69 kB / 0.6439 GB, free: 23.15 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008721/0.5635, allocations: 0.9077 MB / 0.6448 GB, free: 22.78 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.5636, allocations: 54.52 kB / 0.6449 GB, free: 22.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003714/0.564, allocations: 0.5287 MB / 0.6454 GB, free: 22.31 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.288e-05/0.5641, allocations: 113.2 kB / 0.6455 GB, free: 22.22 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004334/0.5645, allocations: 285.7 kB / 0.6458 GB, free: 22.13 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.416e-05/0.5646, allocations: 338.8 kB / 0.6461 GB, free: 21.81 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004043/0.565, allocations: 193.7 kB / 0.6463 GB, free: 21.74 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/0.5663, allocations: 1.147 MB / 0.6474 GB, free: 20.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007878/0.5671, allocations: 458.8 kB / 0.6478 GB, free: 20.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.5671, allocations: 1.25 kB / 0.6478 GB, free: 20.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001421/0.5685, allocations: 0.6471 MB / 0.6485 GB, free: 20.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.5685, allocations: 10.83 kB / 0.6485 GB, free: 20.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.5686, allocations: 10.11 kB / 0.6485 GB, free: 20.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.5686, allocations: 4.406 kB / 0.6485 GB, free: 20.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/0.5701, allocations: 228.8 kB / 0.6487 GB, free: 20.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.5713, allocations: 2.957 MB / 0.6516 GB, free: 17.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003932/0.5753, allocations: 0.7236 MB / 0.6523 GB, free: 17.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.73e-05/0.5754, allocations: 27.62 kB / 0.6523 GB, free: 17.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008373/0.5762, allocations: 370.4 kB / 0.6527 GB, free: 16.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00129/0.5775, allocations: 1.156 MB / 0.6538 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008041/0.5783, allocations: 460.5 kB / 0.6542 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.887e-06/0.5783, allocations: 1.062 kB / 0.6542 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001779/0.5801, allocations: 0.6566 MB / 0.6549 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.5802, allocations: 10.47 kB / 0.6549 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.5802, allocations: 3.188 kB / 0.6549 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.5802, allocations: 5.5 kB / 0.6549 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006954/0.5809, allocations: 157.4 kB / 0.6551 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.5809, allocations: 6.781 kB / 0.6551 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004703/0.5856, allocations: 0.9879 MB / 0.656 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.5857, allocations: 30.06 kB / 0.6561 GB, free: 15.12 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.0004205/0.5862, allocations: 246.8 kB / 0.6563 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002787/0.5865, allocations: 99.27 kB / 0.6564 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/0.5877, allocations: 0.5048 MB / 0.6569 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.5877, allocations: 8.656 kB / 0.6569 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.5877, allocations: 1.531 kB / 0.6569 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.5878, allocations: 7.062 kB / 0.6569 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002324/0.5901, allocations: 1.252 MB / 0.6581 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.5901, allocations: 1.062 kB / 0.6581 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005257/0.5906, allocations: 122 kB / 0.6582 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/0.5907, allocations: 2.906 kB / 0.6582 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/0.5907, allocations: 19.28 kB / 0.6583 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008361/0.5915, allocations: 2.937 MB / 0.6611 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.5916, allocations: 1.156 kB / 0.6611 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009388/0.5925, allocations: 0.5687 MB / 0.6617 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003849/0.5929, allocations: 210 kB / 0.6619 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/0.5931, allocations: 7.656 kB / 0.6619 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006679/0.5938, allocations: 65.78 kB / 0.6619 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.994e-05/0.5939, allocations: 30.22 kB / 0.662 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-05/0.5939, allocations: 16.39 kB / 0.662 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001114/0.595, allocations: 0.6052 MB / 0.6626 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.595, allocations: 0 / 0.6626 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002522/0.5976, allocations: 0.5401 MB / 0.6631 GB, free: 10.08 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.0009643/0.5985, allocations: 336.1 kB / 0.6634 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003234/0.6018, allocations: 0.8635 MB / 0.6643 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.6018, allocations: 0 / 0.6643 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006236/0.6024, allocations: 230.5 kB / 0.6645 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002187/0.6046, allocations: 404 kB / 0.6649 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003775/0.6084, allocations: 1.872 MB / 0.6667 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009109/0.6094, allocations: 1.03 MB / 0.6677 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001605/0.611, allocations: 200.9 kB / 0.6679 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/0.6113, allocations: 83.7 kB / 0.668 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of SimCode: time 1.002e-06/0.6113, allocations: 0 / 0.668 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of Templates: time 0.04986/0.6612, allocations: 24.76 MB / 0.6922 GB, free: 13.7 MB / 0.5137 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)