Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01072/0.01072, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.49/1.49, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8349/0.8349, allocations: 132.3 MB / 423.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003907/0.0003912, allocations: 12 kB / 0.504 GB, free: 3.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4505/0.4509, allocations: 81.57 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.0202/0.4711, allocations: 14.97 MB / 0.5983 GB, free: 9.227 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007628/0.4788, allocations: 4.291 MB / 0.6025 GB, free: 6.211 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008025/0.4796, allocations: 14.5 kB / 0.6025 GB, free: 6.203 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.4807, allocations: 221.3 kB / 0.6027 GB, free: 6.086 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001915/0.4827, allocations: 0.5537 MB / 0.6033 GB, free: 5.766 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002063/0.4847, allocations: 0.6298 MB / 0.6039 GB, free: 5.348 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001852/0.4866, allocations: 1.305 MB / 0.6051 GB, free: 4.629 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006475/0.4873, allocations: 294 kB / 0.6054 GB, free: 4.449 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.4883, allocations: 387.7 kB / 0.6058 GB, free: 4.234 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000694/0.489, allocations: 310 kB / 0.6061 GB, free: 4.062 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.4891, allocations: 15.03 kB / 0.6061 GB, free: 4.062 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001405/0.4905, allocations: 0.5937 MB / 0.6067 GB, free: 3.734 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.4907, allocations: 88.91 kB / 0.6068 GB, free: 3.672 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004501/0.4912, allocations: 236 kB / 0.607 GB, free: 3.508 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001479/0.4927, allocations: 0.7368 MB / 0.6077 GB, free: 3.035 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4927, allocations: 1.5 kB / 0.6077 GB, free: 3.035 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4927, allocations: 0 / 0.6077 GB, free: 3.035 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.941e-05/0.4927, allocations: 0 / 0.6077 GB, free: 3.035 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001645/0.4944, allocations: 0.7576 MB / 0.6085 GB, free: 2.367 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.4944, allocations: 8.969 kB / 0.6085 GB, free: 2.367 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002114/0.4946, allocations: 55.41 kB / 0.6085 GB, free: 2.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000801/0.4954, allocations: 410.5 kB / 0.6089 GB, free: 1.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.4955, allocations: 19.03 kB / 0.6089 GB, free: 1.973 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.665e-05/0.4955, allocations: 27.69 kB / 0.6089 GB, free: 1.965 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005494/0.4961, allocations: 218.4 kB / 0.6092 GB, free: 1.832 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.4961, allocations: 4 kB / 0.6092 GB, free: 1.828 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.4962, allocations: 6.25 kB / 0.6092 GB, free: 1.824 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.4962, allocations: 9.094 kB / 0.6092 GB, free: 1.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004304/0.4966, allocations: 179.8 kB / 0.6093 GB, free: 1.742 MB / 446.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.001928/0.4985, allocations: 0.9554 MB / 0.6103 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.4989, allocations: 140.5 kB / 0.6104 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.4991, allocations: 77 kB / 0.6105 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003031/0.4994, allocations: 336.3 kB / 0.6108 GB, free: 444 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.4994, allocations: 40.16 kB / 0.6108 GB, free: 396 kB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 2.174e-06/0.4994, allocations: 0 / 0.6108 GB, free: 396 kB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007422/0.5002, allocations: 248.3 kB / 0.6111 GB, free: 272 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.5002, allocations: 58.19 kB / 0.6111 GB, free: 204 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006321/0.5009, allocations: 482.1 kB / 0.6116 GB, free: 15.9 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.5009, allocations: 27.92 kB / 0.6116 GB, free: 15.87 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.5011, allocations: 237.6 kB / 0.6119 GB, free: 15.66 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.581e-05/0.5012, allocations: 40.3 kB / 0.6119 GB, free: 15.63 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/0.5012, allocations: 25.72 kB / 0.6119 GB, free: 15.61 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.5014, allocations: 355.9 kB / 0.6123 GB, free: 15.26 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.5016, allocations: 76.77 kB / 0.6123 GB, free: 15.22 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/0.5019, allocations: 154.4 kB / 0.6125 GB, free: 15.11 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000427/0.5024, allocations: 179.5 kB / 0.6126 GB, free: 15.01 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.5024, allocations: 0 / 0.6126 GB, free: 15.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006417/0.503, allocations: 265.5 kB / 0.6129 GB, free: 14.87 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.5032, allocations: 106.7 kB / 0.613 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.5032, allocations: 1.281 kB / 0.613 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.5032, allocations: 5.281 kB / 0.613 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/0.5035, allocations: 49.91 kB / 0.6131 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.5035, allocations: 1.438 kB / 0.6131 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004344/0.5039, allocations: 47.62 kB / 0.6131 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.717e-05/0.504, allocations: 15.17 kB / 0.6131 GB, free: 14.71 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.504, allocations: 8.344 kB / 0.6131 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004804/0.5045, allocations: 189.7 kB / 0.6133 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.5045, allocations: 1.031 kB / 0.6133 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.859e-06/0.5045, allocations: 1.156 kB / 0.6133 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.5047, allocations: 48.88 kB / 0.6134 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.5047, allocations: 2.406 kB / 0.6134 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000388/0.5051, allocations: 43.66 kB / 0.6134 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.918e-05/0.5052, allocations: 18.2 kB / 0.6134 GB, free: 14.58 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002463/0.5054, allocations: 247.2 kB / 0.6136 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.994e-05/0.5055, allocations: 46.86 kB / 0.6137 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000606/0.5061, allocations: 259.8 kB / 0.6139 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.5062, allocations: 6 kB / 0.6139 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5062, allocations: 1.156 kB / 0.6139 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.5062, allocations: 0 / 0.6139 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.5073, allocations: 0.7114 MB / 0.6146 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.5074, allocations: 0 / 0.6146 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.5075, allocations: 37.97 kB / 0.6147 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.5075, allocations: 1.25 kB / 0.6147 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.5075, allocations: 7 kB / 0.6147 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.5075, allocations: 6.188 kB / 0.6147 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5076, allocations: 0.9688 kB / 0.6147 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005633/0.5081, allocations: 354.2 kB / 0.615 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/0.5083, allocations: 146.5 kB / 0.6152 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.313e-05/0.5084, allocations: 6.156 kB / 0.6152 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.5087, allocations: 21.48 kB / 0.6152 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/0.5087, allocations: 18.92 kB / 0.6152 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/0.5088, allocations: 12.45 kB / 0.6152 GB, free: 13.13 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004425/0.5092, allocations: 333.6 kB / 0.6155 GB, free: 12.94 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5092, allocations: 0 / 0.6155 GB, free: 12.94 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007904/0.51, allocations: 202.3 kB / 0.6157 GB, free: 12.89 MB / 462.1 MB 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001246/0.5113, allocations: 483.5 kB / 0.6162 GB, free: 12.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007597/0.512, allocations: 293 kB / 0.6165 GB, free: 12.56 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5121, allocations: 1.125 kB / 0.6165 GB, free: 12.56 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002265/0.5123, allocations: 88.83 kB / 0.6166 GB, free: 12.53 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/0.5138, allocations: 227.6 kB / 0.6168 GB, free: 12.41 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.5154, allocations: 0.8618 MB / 0.6176 GB, free: 11.78 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/0.5159, allocations: 0.8269 MB / 0.6184 GB, free: 11.02 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003817/0.5162, allocations: 86 kB / 0.6185 GB, free: 10.98 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.5164, allocations: 40.17 kB / 0.6186 GB, free: 10.97 MB / 462.1 MB Notification: Performance of SimCode: time 7.82e-07/0.5164, allocations: 0 / 0.6186 GB, free: 10.97 MB / 462.1 MB Notification: Performance of Templates: time 0.01854/0.5349, allocations: 8.279 MB / 0.6266 GB, free: 4.16 MB / 462.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)