Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001272/0.001272, allocations: 191 kB / 17.29 MB, free: 5.516 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.792/0.792, allocations: 132.2 MB / 423.3 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002383/0.002383, allocations: 67.89 kB / 0.5032 GB, free: 10.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3976, allocations: 80.18 MB / 0.5815 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01528/0.4129, allocations: 17.47 MB / 0.5985 GB, free: 12.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006231/0.4192, allocations: 4.913 MB / 0.6033 GB, free: 7.781 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007321/0.42, allocations: 15.94 kB / 0.6034 GB, free: 7.766 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000947/0.4209, allocations: 251.6 kB / 0.6036 GB, free: 7.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.4228, allocations: 0.6115 MB / 0.6042 GB, free: 6.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002004/0.4248, allocations: 0.7296 MB / 0.6049 GB, free: 6.195 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001032/0.4259, allocations: 0.9751 MB / 0.6059 GB, free: 5.215 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004211/0.4263, allocations: 327.4 kB / 0.6062 GB, free: 4.902 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006295/0.4269, allocations: 423.8 kB / 0.6066 GB, free: 4.488 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003407/0.4273, allocations: 308.7 kB / 0.6069 GB, free: 4.188 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.972e-05/0.4273, allocations: 32 kB / 0.6069 GB, free: 4.156 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.4285, allocations: 0.7253 MB / 0.6076 GB, free: 3.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.4287, allocations: 135.5 kB / 0.6077 GB, free: 3.297 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.4289, allocations: 247.8 kB / 0.608 GB, free: 3.055 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009991/0.4299, allocations: 0.8762 MB / 0.6088 GB, free: 2.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.4299, allocations: 0 / 0.6088 GB, free: 2.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.4299, allocations: 0.7812 kB / 0.6088 GB, free: 2.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.4299, allocations: 0 / 0.6088 GB, free: 2.18 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001126/0.431, allocations: 0.8897 MB / 0.6097 GB, free: 1.242 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.4311, allocations: 12.03 kB / 0.6097 GB, free: 1.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.4312, allocations: 60.78 kB / 0.6098 GB, free: 1.172 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006039/0.4319, allocations: 459.8 kB / 0.6102 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.4319, allocations: 22.56 kB / 0.6102 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.689e-05/0.4319, allocations: 28 kB / 0.6103 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004049/0.4323, allocations: 287.7 kB / 0.6105 GB, free: 348 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4324, allocations: 0 / 0.6105 GB, free: 348 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.4324, allocations: 15.78 kB / 0.6105 GB, free: 336 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.4324, allocations: 7.938 kB / 0.6106 GB, free: 328 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003343/0.4327, allocations: 190.1 kB / 0.6107 GB, free: 136 kB / 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.001919/0.4347, allocations: 1.48 MB / 0.6122 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/0.435, allocations: 161.7 kB / 0.6123 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.4352, allocations: 80.81 kB / 0.6124 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001562/0.4368, allocations: 1.277 MB / 0.6137 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.4368, allocations: 34.56 kB / 0.6137 GB, free: 12.79 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.4368, allocations: 0 / 0.6137 GB, free: 12.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006187/0.4374, allocations: 255.3 kB / 0.6139 GB, free: 12.54 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.4375, allocations: 59.34 kB / 0.614 GB, free: 12.46 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006542/0.4381, allocations: 0.5771 MB / 0.6146 GB, free: 11.88 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.4382, allocations: 33.69 kB / 0.6146 GB, free: 11.84 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.4384, allocations: 272 kB / 0.6149 GB, free: 11.56 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.132e-05/0.4385, allocations: 51.28 kB / 0.6149 GB, free: 11.51 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.4386, allocations: 69.89 kB / 0.615 GB, free: 11.44 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.4388, allocations: 358.8 kB / 0.6153 GB, free: 11.08 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/0.439, allocations: 89.86 kB / 0.6154 GB, free: 10.99 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/0.4393, allocations: 202.8 kB / 0.6156 GB, free: 10.74 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003988/0.4397, allocations: 235.2 kB / 0.6158 GB, free: 10.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.4397, allocations: 4 kB / 0.6158 GB, free: 10.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005736/0.4403, allocations: 316.7 kB / 0.6161 GB, free: 10.16 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.4403, allocations: 4 kB / 0.6161 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/0.4403, allocations: 4 kB / 0.6161 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.4403, allocations: 4 kB / 0.6161 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.4406, allocations: 59.91 kB / 0.6162 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.4406, allocations: 7.938 kB / 0.6162 GB, free: 10.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/0.4409, allocations: 51.91 kB / 0.6162 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/0.441, allocations: 12 kB / 0.6163 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003009/0.4413, allocations: 212.6 kB / 0.6165 GB, free: 9.809 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002769/0.4416, allocations: 210.2 kB / 0.6167 GB, free: 9.555 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003765/0.442, allocations: 235.4 kB / 0.6169 GB, free: 9.293 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-06/0.442, allocations: 0 / 0.6169 GB, free: 9.293 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006109/0.4426, allocations: 318.5 kB / 0.6172 GB, free: 8.977 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.258e-06/0.4426, allocations: 4 kB / 0.6172 GB, free: 8.973 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-06/0.4426, allocations: 4 kB / 0.6172 GB, free: 8.969 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.089e-06/0.4426, allocations: 4 kB / 0.6172 GB, free: 8.965 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.4428, allocations: 63.89 kB / 0.6173 GB, free: 8.902 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.4429, allocations: 4 kB / 0.6173 GB, free: 8.898 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/0.4432, allocations: 36.05 kB / 0.6173 GB, free: 8.863 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.4432, allocations: 19.98 kB / 0.6173 GB, free: 8.844 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001333/0.4434, allocations: 196.3 kB / 0.6175 GB, free: 8.645 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.007e-05/0.4434, allocations: 51.38 kB / 0.6176 GB, free: 8.594 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005501/0.444, allocations: 264.6 kB / 0.6178 GB, free: 8.328 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.444, allocations: 192 / 0.6178 GB, free: 8.328 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.444, allocations: 7.938 kB / 0.6178 GB, free: 8.32 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.444, allocations: 3.984 kB / 0.6178 GB, free: 8.316 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.4451, allocations: 0.7317 MB / 0.6185 GB, free: 7.516 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4451, allocations: 0 / 0.6185 GB, free: 7.516 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.4452, allocations: 36.09 kB / 0.6186 GB, free: 7.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.4452, allocations: 4 kB / 0.6186 GB, free: 7.477 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.4453, allocations: 0 / 0.6186 GB, free: 7.477 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.4453, allocations: 7.938 kB / 0.6186 GB, free: 7.469 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4453, allocations: 0 / 0.6186 GB, free: 7.469 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004749/0.4458, allocations: 356 kB / 0.6189 GB, free: 7.094 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.4459, allocations: 144.4 kB / 0.6191 GB, free: 6.934 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.415e-05/0.446, allocations: 8 kB / 0.6191 GB, free: 6.926 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.4462, allocations: 11.98 kB / 0.6191 GB, free: 6.914 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.4463, allocations: 19.86 kB / 0.6191 GB, free: 6.895 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.4463, allocations: 8 kB / 0.6191 GB, free: 6.887 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004669/0.4467, allocations: 422.8 kB / 0.6195 GB, free: 6.477 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4468, allocations: 0 / 0.6195 GB, free: 6.477 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007318/0.4475, allocations: 235.7 kB / 0.6197 GB, free: 6.246 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 (17): * Single equations (assignments): 15 * 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.001156/0.4487, allocations: 497.6 kB / 0.6202 GB, free: 5.922 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007169/0.4494, allocations: 324.2 kB / 0.6205 GB, free: 5.605 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.4494, allocations: 0 / 0.6205 GB, free: 5.605 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.4496, allocations: 91.81 kB / 0.6206 GB, free: 5.516 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.4507, allocations: 257.6 kB / 0.6208 GB, free: 5.281 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.4521, allocations: 0.7938 MB / 0.6216 GB, free: 4.445 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004953/0.4526, allocations: 0.8506 MB / 0.6224 GB, free: 3.566 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003013/0.4529, allocations: 102.1 kB / 0.6225 GB, free: 3.465 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.797e-05/0.453, allocations: 35.44 kB / 0.6226 GB, free: 3.43 MB / 462.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4531, allocations: 0 / 0.6226 GB, free: 3.43 MB / 462.1 MB Notification: Performance of Templates: time 0.01719/0.4702, allocations: 10.19 MB / 0.6325 GB, free: 9.406 MB / 478.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)