Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001061/0.001061, allocations: 106.4 kB / 16.37 MB, free: 6.477 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.001119/0.001119, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.218/1.218, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7384/0.7384, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 63.91 kB / 0.5068 GB, free: 7.695 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3013, allocations: 80.9 MB / 0.5858 GB, free: 25.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01306/0.3144, allocations: 17.47 MB / 0.6028 GB, free: 9.086 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005246/0.3197, allocations: 4.905 MB / 0.6076 GB, free: 4.191 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00049/0.3202, allocations: 15.94 kB / 0.6076 GB, free: 4.176 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006988/0.3209, allocations: 251 kB / 0.6079 GB, free: 3.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001191/0.3222, allocations: 0.6125 MB / 0.6085 GB, free: 3.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.3237, allocations: 0.7303 MB / 0.6092 GB, free: 2.605 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007973/0.3245, allocations: 0.9757 MB / 0.6101 GB, free: 1.629 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003326/0.3249, allocations: 328.9 kB / 0.6104 GB, free: 1.316 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000457/0.3253, allocations: 420.1 kB / 0.6108 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002883/0.3256, allocations: 314.6 kB / 0.6111 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.139e-05/0.3257, allocations: 28.62 kB / 0.6112 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009613/0.3267, allocations: 0.7259 MB / 0.6119 GB, free: 15.84 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.3268, allocations: 135.5 kB / 0.612 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002128/0.327, allocations: 241.2 kB / 0.6122 GB, free: 15.47 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.3281, allocations: 0.8877 MB / 0.6131 GB, free: 14.59 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3281, allocations: 0 / 0.6131 GB, free: 14.59 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3281, allocations: 0 / 0.6131 GB, free: 14.59 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.3281, allocations: 0 / 0.6131 GB, free: 14.59 MB / 462.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.00119/0.3293, allocations: 0.8753 MB / 0.614 GB, free: 13.66 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.3293, allocations: 13.09 kB / 0.614 GB, free: 13.65 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.3295, allocations: 68.19 kB / 0.614 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006508/0.3302, allocations: 464.6 kB / 0.6145 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.3302, allocations: 20.56 kB / 0.6145 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/0.3302, allocations: 28 kB / 0.6145 GB, free: 13.04 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004728/0.3307, allocations: 294.2 kB / 0.6148 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3307, allocations: 0 / 0.6148 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.3308, allocations: 12 kB / 0.6148 GB, free: 12.72 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.3308, allocations: 4 kB / 0.6148 GB, free: 12.72 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003894/0.3312, allocations: 190.1 kB / 0.615 GB, free: 12.54 MB / 462.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.001742/0.3329, allocations: 1.476 MB / 0.6164 GB, free: 10.95 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.3332, allocations: 162.8 kB / 0.6166 GB, free: 10.78 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.3334, allocations: 80.75 kB / 0.6167 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001431/0.3349, allocations: 1.28 MB / 0.6179 GB, free: 9.223 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.3349, allocations: 34.56 kB / 0.618 GB, free: 9.18 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.3349, allocations: 0 / 0.618 GB, free: 9.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005902/0.3355, allocations: 255.9 kB / 0.6182 GB, free: 8.926 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.3355, allocations: 55.41 kB / 0.6183 GB, free: 8.859 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005871/0.3361, allocations: 0.577 MB / 0.6188 GB, free: 8.27 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.3362, allocations: 29.7 kB / 0.6189 GB, free: 8.234 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.3363, allocations: 272.1 kB / 0.6191 GB, free: 7.965 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.3364, allocations: 63.19 kB / 0.6192 GB, free: 7.902 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.238e-05/0.3365, allocations: 65.89 kB / 0.6192 GB, free: 7.832 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3366, allocations: 362.7 kB / 0.6196 GB, free: 7.469 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.3368, allocations: 77.94 kB / 0.6197 GB, free: 7.391 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/0.3371, allocations: 214.7 kB / 0.6199 GB, free: 7.133 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.3375, allocations: 235.5 kB / 0.6201 GB, free: 6.871 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3375, allocations: 4 kB / 0.6201 GB, free: 6.867 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005459/0.338, allocations: 319.4 kB / 0.6204 GB, free: 6.551 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.3381, allocations: 5.875 kB / 0.6204 GB, free: 6.547 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3381, allocations: 4 kB / 0.6204 GB, free: 6.543 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.3381, allocations: 4 kB / 0.6204 GB, free: 6.539 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.3383, allocations: 64.16 kB / 0.6205 GB, free: 6.477 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.3384, allocations: 4 kB / 0.6205 GB, free: 6.473 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/0.3386, allocations: 47.66 kB / 0.6205 GB, free: 6.426 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.3387, allocations: 12 kB / 0.6205 GB, free: 6.414 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002807/0.339, allocations: 216.6 kB / 0.6207 GB, free: 6.199 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002541/0.3392, allocations: 209.6 kB / 0.6209 GB, free: 5.945 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003599/0.3396, allocations: 229.2 kB / 0.6212 GB, free: 5.688 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.3396, allocations: 4 kB / 0.6212 GB, free: 5.684 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005167/0.3401, allocations: 314.5 kB / 0.6215 GB, free: 5.371 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.3402, allocations: 8 kB / 0.6215 GB, free: 5.363 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3402, allocations: 0 / 0.6215 GB, free: 5.363 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.478e-06/0.3402, allocations: 7.938 kB / 0.6215 GB, free: 5.355 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.3404, allocations: 64.16 kB / 0.6215 GB, free: 5.293 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3404, allocations: 11.92 kB / 0.6215 GB, free: 5.281 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003159/0.3407, allocations: 35.83 kB / 0.6216 GB, free: 5.246 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.3408, allocations: 15.98 kB / 0.6216 GB, free: 5.23 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.0001003/0.3409, allocations: 197 kB / 0.6218 GB, free: 5.031 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.014e-05/0.341, allocations: 51.38 kB / 0.6218 GB, free: 4.98 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005052/0.3415, allocations: 261.9 kB / 0.6221 GB, free: 4.715 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.3415, allocations: 0 / 0.6221 GB, free: 4.715 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3415, allocations: 0 / 0.6221 GB, free: 4.715 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3415, allocations: 0 / 0.6221 GB, free: 4.715 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009615/0.3425, allocations: 0.7395 MB / 0.6228 GB, free: 3.906 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3425, allocations: 0 / 0.6228 GB, free: 3.906 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.3426, allocations: 27.98 kB / 0.6228 GB, free: 3.879 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.3426, allocations: 7.984 kB / 0.6228 GB, free: 3.871 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.3426, allocations: 4 kB / 0.6228 GB, free: 3.867 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.3426, allocations: 4 kB / 0.6228 GB, free: 3.863 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3427, allocations: 0 / 0.6228 GB, free: 3.863 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004551/0.3431, allocations: 356.4 kB / 0.6232 GB, free: 3.488 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001803/0.3433, allocations: 148.4 kB / 0.6233 GB, free: 3.324 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.601e-05/0.3434, allocations: 4 kB / 0.6233 GB, free: 3.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.3436, allocations: 16.17 kB / 0.6233 GB, free: 3.305 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.3436, allocations: 15.92 kB / 0.6234 GB, free: 3.289 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.3437, allocations: 11.98 kB / 0.6234 GB, free: 3.277 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004254/0.3441, allocations: 418.8 kB / 0.6238 GB, free: 2.871 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.935e-06/0.3441, allocations: 0 / 0.6238 GB, free: 2.871 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006918/0.3448, allocations: 235.6 kB / 0.624 GB, free: 2.641 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.001082/0.3459, allocations: 0.4885 MB / 0.6245 GB, free: 2.312 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006605/0.3465, allocations: 323.5 kB / 0.6248 GB, free: 1.996 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3466, allocations: 0 / 0.6248 GB, free: 1.996 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.3467, allocations: 88.94 kB / 0.6249 GB, free: 1.91 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.3478, allocations: 258.9 kB / 0.6251 GB, free: 1.676 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.349, allocations: 0.8071 MB / 0.6259 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.3494, allocations: 0.8428 MB / 0.6267 GB, free: 15.96 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000284/0.3497, allocations: 99.86 kB / 0.6268 GB, free: 15.86 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.416e-05/0.3498, allocations: 39.44 kB / 0.6269 GB, free: 15.82 MB / 478.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3498, allocations: 0 / 0.6269 GB, free: 15.82 MB / 478.1 MB Notification: Performance of Templates: time 0.01611/0.3659, allocations: 10.19 MB / 0.6368 GB, free: 5.777 MB / 478.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)