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.001145/0.001145, allocations: 106.5 kB / 16.36 MB, free: 5.824 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.001035/0.001035, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7515/0.7515, allocations: 132.2 MB / 423.3 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.89 kB / 0.5032 GB, free: 10.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3243, 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.01533/0.3397, allocations: 17.47 MB / 0.5985 GB, free: 12.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005096/0.3448, allocations: 4.914 MB / 0.6033 GB, free: 7.801 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005709/0.3454, allocations: 15.88 kB / 0.6034 GB, free: 7.785 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007375/0.3462, allocations: 250.4 kB / 0.6036 GB, free: 7.539 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001345/0.3476, allocations: 0.6159 MB / 0.6042 GB, free: 6.926 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001726/0.3493, allocations: 0.7275 MB / 0.6049 GB, free: 6.211 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00108/0.3504, allocations: 0.9673 MB / 0.6059 GB, free: 5.238 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004913/0.3509, allocations: 336.6 kB / 0.6062 GB, free: 4.918 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006694/0.3516, allocations: 414.9 kB / 0.6066 GB, free: 4.512 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003959/0.352, allocations: 311.8 kB / 0.6069 GB, free: 4.207 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.176e-05/0.3521, allocations: 31.94 kB / 0.6069 GB, free: 4.176 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009855/0.3531, allocations: 0.7336 MB / 0.6076 GB, free: 3.441 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.3532, allocations: 131.6 kB / 0.6077 GB, free: 3.312 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002393/0.3534, allocations: 239.5 kB / 0.608 GB, free: 3.078 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.3547, allocations: 0.8839 MB / 0.6088 GB, free: 2.195 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3547, allocations: 0.875 kB / 0.6088 GB, free: 2.195 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3547, allocations: 7.938 kB / 0.6088 GB, free: 2.188 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.407e-05/0.3548, allocations: 1 kB / 0.6088 GB, free: 2.188 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.001349/0.3561, allocations: 0.8774 MB / 0.6097 GB, free: 1.262 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.3562, allocations: 8.031 kB / 0.6097 GB, free: 1.254 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001933/0.3564, allocations: 61.5 kB / 0.6098 GB, free: 1.195 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006648/0.357, allocations: 463.2 kB / 0.6102 GB, free: 0.707 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.3571, allocations: 25.62 kB / 0.6102 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.3571, allocations: 28 kB / 0.6103 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004265/0.3576, allocations: 281.7 kB / 0.6105 GB, free: 372 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.3576, allocations: 4 kB / 0.6105 GB, free: 368 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.3576, allocations: 8 kB / 0.6105 GB, free: 360 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.3576, allocations: 8 kB / 0.6105 GB, free: 352 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003572/0.358, allocations: 193.6 kB / 0.6107 GB, free: 160 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.001794/0.3598, allocations: 1.487 MB / 0.6122 GB, free: 14.56 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.3601, allocations: 158.3 kB / 0.6123 GB, free: 14.4 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.3603, allocations: 88.8 kB / 0.6124 GB, free: 14.31 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001578/0.3619, allocations: 1.272 MB / 0.6137 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.3619, allocations: 34.56 kB / 0.6137 GB, free: 12.8 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.3619, allocations: 0 / 0.6137 GB, free: 12.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006207/0.3626, allocations: 257 kB / 0.6139 GB, free: 12.54 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.3626, allocations: 55.34 kB / 0.614 GB, free: 12.48 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006344/0.3632, allocations: 0.5771 MB / 0.6146 GB, free: 11.89 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.3633, allocations: 33.7 kB / 0.6146 GB, free: 11.85 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/0.3635, allocations: 272 kB / 0.6148 GB, free: 11.57 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.3635, allocations: 51.3 kB / 0.6149 GB, free: 11.52 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-05/0.3636, allocations: 73.88 kB / 0.615 GB, free: 11.45 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3638, allocations: 362.8 kB / 0.6153 GB, free: 11.08 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.364, allocations: 77.94 kB / 0.6154 GB, free: 11 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.3643, allocations: 210.7 kB / 0.6156 GB, free: 10.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/0.3647, allocations: 231.3 kB / 0.6158 GB, free: 10.49 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3647, allocations: 0 / 0.6158 GB, free: 10.49 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005681/0.3652, allocations: 312.7 kB / 0.6161 GB, free: 10.18 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3653, allocations: 8 kB / 0.6161 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3653, allocations: 0 / 0.6161 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3653, allocations: 4 kB / 0.6161 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.3656, allocations: 67.98 kB / 0.6162 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.3656, allocations: 7.938 kB / 0.6162 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002971/0.3659, allocations: 43.92 kB / 0.6162 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.53e-05/0.3659, allocations: 19.98 kB / 0.6163 GB, free: 10.03 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002885/0.3662, allocations: 212.6 kB / 0.6165 GB, free: 9.82 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000271/0.3665, allocations: 210.1 kB / 0.6167 GB, free: 9.566 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003607/0.3669, allocations: 231.4 kB / 0.6169 GB, free: 9.309 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.306e-06/0.3669, allocations: 4 kB / 0.6169 GB, free: 9.305 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005423/0.3674, allocations: 318.3 kB / 0.6172 GB, free: 8.988 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.817e-06/0.3675, allocations: 8 kB / 0.6172 GB, free: 8.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.3675, allocations: 4 kB / 0.6172 GB, free: 8.977 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.398e-06/0.3675, allocations: 4 kB / 0.6172 GB, free: 8.973 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.3677, allocations: 59.91 kB / 0.6173 GB, free: 8.914 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3677, allocations: 7.938 kB / 0.6173 GB, free: 8.906 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000311/0.368, allocations: 40.06 kB / 0.6173 GB, free: 8.867 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.3681, allocations: 16 kB / 0.6173 GB, free: 8.852 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.0001103/0.3682, allocations: 200.1 kB / 0.6175 GB, free: 8.648 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.419e-05/0.3683, allocations: 47.38 kB / 0.6176 GB, free: 8.602 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005358/0.3688, allocations: 258.8 kB / 0.6178 GB, free: 8.344 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.3688, allocations: 4 kB / 0.6178 GB, free: 8.34 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3688, allocations: 7.922 kB / 0.6178 GB, free: 8.332 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3688, allocations: 0 / 0.6178 GB, free: 8.332 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.3699, allocations: 0.7305 MB / 0.6185 GB, free: 7.535 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.3699, allocations: 8.031 kB / 0.6185 GB, free: 7.527 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.37, allocations: 32.02 kB / 0.6186 GB, free: 7.496 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.634e-06/0.3701, allocations: 7.938 kB / 0.6186 GB, free: 7.488 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.3701, allocations: 4 kB / 0.6186 GB, free: 7.484 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3701, allocations: 0 / 0.6186 GB, free: 7.484 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.3701, allocations: 7.984 kB / 0.6186 GB, free: 7.477 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004484/0.3705, allocations: 356.3 kB / 0.6189 GB, free: 7.102 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.3707, allocations: 148.4 kB / 0.6191 GB, free: 6.938 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.424e-05/0.3708, allocations: 4 kB / 0.6191 GB, free: 6.934 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.371, allocations: 11.98 kB / 0.6191 GB, free: 6.922 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.371, allocations: 19.92 kB / 0.6191 GB, free: 6.902 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.3711, allocations: 8 kB / 0.6191 GB, free: 6.895 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004404/0.3715, allocations: 418.8 kB / 0.6195 GB, free: 6.488 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3715, allocations: 0 / 0.6195 GB, free: 6.488 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006918/0.3722, allocations: 227.7 kB / 0.6197 GB, free: 6.266 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.001076/0.3733, allocations: 0.4886 MB / 0.6202 GB, free: 5.938 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000675/0.374, allocations: 327.8 kB / 0.6205 GB, free: 5.617 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.374, allocations: 0 / 0.6205 GB, free: 5.617 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.3742, allocations: 87.89 kB / 0.6206 GB, free: 5.531 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.3753, allocations: 249.4 kB / 0.6208 GB, free: 5.301 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.3765, allocations: 0.8036 MB / 0.6216 GB, free: 4.457 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.3769, allocations: 0.8467 MB / 0.6224 GB, free: 3.582 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002968/0.3772, allocations: 103.2 kB / 0.6225 GB, free: 3.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.75e-05/0.3773, allocations: 39.42 kB / 0.6226 GB, free: 3.441 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3773, allocations: 0 / 0.6226 GB, free: 3.441 MB / 462.1 MB Notification: Performance of Templates: time 0.01643/0.3937, allocations: 10.19 MB / 0.6325 GB, free: 9.418 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 gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)