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.006383/0.006383, allocations: 103.8 kB / 15.73 MB, free: 6.039 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.00132/0.00132, allocations: 194.2 kB / 16.67 MB, free: 5.969 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.776/0.776, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 67.91 kB / 0.5814 GB, free: 7.555 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4137/0.415, allocations: 80.2 MB / 0.6597 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.0165/0.4315, allocations: 17.46 MB / 0.6767 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007444/0.439, allocations: 4.914 MB / 0.6815 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007746/0.4398, allocations: 13.47 kB / 0.6815 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001244/0.4411, allocations: 256 kB / 0.6818 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002147/0.4433, allocations: 0.6403 MB / 0.6824 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002211/0.4456, allocations: 0.7297 MB / 0.6831 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001672/0.4473, allocations: 0.9699 MB / 0.6841 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007136/0.448, allocations: 349.5 kB / 0.6844 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000968/0.449, allocations: 424.8 kB / 0.6848 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006318/0.4496, allocations: 312.1 kB / 0.6851 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.858e-05/0.4497, allocations: 29.53 kB / 0.6851 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001478/0.4512, allocations: 0.7265 MB / 0.6858 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000178/0.4514, allocations: 136.9 kB / 0.686 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003663/0.4518, allocations: 248.1 kB / 0.6862 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001698/0.4535, allocations: 0.876 MB / 0.6871 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4535, allocations: 0 / 0.6871 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4535, allocations: 1.062 kB / 0.6871 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.78e-05/0.4535, allocations: 0 / 0.6871 GB, free: 5.035 MB / 0.5137 GB 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.001665/0.4552, allocations: 0.8845 MB / 0.6879 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.4552, allocations: 9.625 kB / 0.6879 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/0.4555, allocations: 58.53 kB / 0.688 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008167/0.4563, allocations: 465.2 kB / 0.6884 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.4563, allocations: 24.94 kB / 0.6885 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.348e-05/0.4564, allocations: 32.56 kB / 0.6885 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005239/0.4569, allocations: 284.1 kB / 0.6888 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.457, allocations: 0 / 0.6888 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.457, allocations: 10.75 kB / 0.6888 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.457, allocations: 5.5 kB / 0.6888 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004321/0.4574, allocations: 191.2 kB / 0.689 GB, free: 3.547 MB / 0.5137 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.002072/0.4595, allocations: 1.478 MB / 0.6904 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003487/0.4599, allocations: 165 kB / 0.6906 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.4601, allocations: 83.28 kB / 0.6906 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001737/0.4618, allocations: 1.282 MB / 0.6919 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.4619, allocations: 30.56 kB / 0.6919 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.4619, allocations: 1.562 kB / 0.6919 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0006784/0.4626, allocations: 246.8 kB / 0.6922 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.4626, allocations: 56.62 kB / 0.6922 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007462/0.4634, allocations: 0.5845 MB / 0.6928 GB, free: 184 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.4634, allocations: 28.64 kB / 0.6928 GB, free: 152 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.4636, allocations: 273.5 kB / 0.6931 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.69e-05/0.4637, allocations: 53.73 kB / 0.6931 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.4638, allocations: 67.28 kB / 0.6932 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.464, allocations: 358.2 kB / 0.6935 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.4642, allocations: 87.31 kB / 0.6936 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002976/0.4645, allocations: 207.4 kB / 0.6938 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004201/0.4649, allocations: 240.9 kB / 0.694 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.465, allocations: 1.094 kB / 0.694 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006666/0.4656, allocations: 313 kB / 0.6943 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.4657, allocations: 5.094 kB / 0.6943 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.4657, allocations: 2.656 kB / 0.6944 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.4657, allocations: 4.438 kB / 0.6944 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.466, allocations: 66.98 kB / 0.6944 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.466, allocations: 9.281 kB / 0.6944 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003705/0.4664, allocations: 38.52 kB / 0.6945 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.921e-05/0.4664, allocations: 19.45 kB / 0.6945 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003161/0.4667, allocations: 218.7 kB / 0.6947 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003087/0.4671, allocations: 211.9 kB / 0.6949 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000388/0.4675, allocations: 234.8 kB / 0.6951 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.316e-06/0.4675, allocations: 1.531 kB / 0.6951 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006107/0.4681, allocations: 313.5 kB / 0.6954 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.4681, allocations: 6.406 kB / 0.6954 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.4681, allocations: 2.5 kB / 0.6954 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.522e-06/0.4681, allocations: 3.812 kB / 0.6954 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.4684, allocations: 63.31 kB / 0.6955 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.4684, allocations: 8.047 kB / 0.6955 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/0.4688, allocations: 35.25 kB / 0.6955 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.4688, allocations: 15.72 kB / 0.6955 GB, free: 14.12 MB / 0.5294 GB 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.0001563/0.469, allocations: 206.6 kB / 0.6957 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.4691, allocations: 49.47 kB / 0.6958 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000591/0.4697, allocations: 258 kB / 0.696 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.4697, allocations: 2.844 kB / 0.696 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4697, allocations: 0 / 0.696 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.4697, allocations: 9.453 kB / 0.6961 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.471, allocations: 0.7357 MB / 0.6968 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.471, allocations: 1.406 kB / 0.6968 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.4711, allocations: 28.05 kB / 0.6968 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.4711, allocations: 5.312 kB / 0.6968 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.4712, allocations: 3.938 kB / 0.6968 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-06/0.4712, allocations: 5.344 kB / 0.6968 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.4712, allocations: 1.438 kB / 0.6968 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006207/0.4718, allocations: 358.7 kB / 0.6972 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002381/0.4721, allocations: 140.3 kB / 0.6973 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.848e-05/0.4721, allocations: 10.48 kB / 0.6973 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.4724, allocations: 5.75 kB / 0.6973 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.864e-05/0.4725, allocations: 26.94 kB / 0.6973 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.4725, allocations: 5.5 kB / 0.6973 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000651/0.4732, allocations: 428.7 kB / 0.6977 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.51e-07/0.4732, allocations: 0 / 0.6977 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001005/0.4742, allocations: 225.4 kB / 0.698 GB, free: 12.39 MB / 0.5294 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 (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.001312/0.4755, allocations: 0.4921 MB / 0.6984 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000776/0.4763, allocations: 321.5 kB / 0.6987 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.768e-06/0.4763, allocations: 0 / 0.6987 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002179/0.4765, allocations: 90.73 kB / 0.6988 GB, free: 12 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.4778, allocations: 248.8 kB / 0.6991 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.4793, allocations: 0.8001 MB / 0.6999 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004728/0.4798, allocations: 0.8471 MB / 0.7007 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003964/0.4802, allocations: 104.7 kB / 0.7008 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.521e-05/0.4803, allocations: 39.77 kB / 0.7008 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of SimCode: time 4.2e-07/0.4803, allocations: 0 / 0.7008 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of Templates: time 0.01839/0.4987, allocations: 10.23 MB / 0.7108 GB, free: 1.332 MB / 0.5294 GB 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)