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.001149/0.001149, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001155/0.001155, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.365/1.365, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8234/0.8234, allocations: 135.1 MB / 426.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 63.91 kB / 0.506 GB, free: 8.391 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3991, allocations: 80.91 MB / 0.585 GB, free: 25.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01427/0.4134, allocations: 17.46 MB / 0.6021 GB, free: 9.059 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005667/0.4191, allocations: 4.905 MB / 0.6069 GB, free: 4.164 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006712/0.4198, allocations: 11.94 kB / 0.6069 GB, free: 4.152 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008207/0.4206, allocations: 254.4 kB / 0.6071 GB, free: 3.902 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001372/0.4221, allocations: 0.6077 MB / 0.6077 GB, free: 3.297 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.4238, allocations: 0.7235 MB / 0.6084 GB, free: 2.586 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008731/0.4247, allocations: 0.9715 MB / 0.6094 GB, free: 1.613 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003928/0.4251, allocations: 329 kB / 0.6097 GB, free: 1.305 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005403/0.4256, allocations: 424.2 kB / 0.6101 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003027/0.4259, allocations: 306.7 kB / 0.6104 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.381e-05/0.426, allocations: 34.62 kB / 0.6104 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.4271, allocations: 0.7252 MB / 0.6111 GB, free: 15.83 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.4273, allocations: 131.5 kB / 0.6112 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000241/0.4275, allocations: 242.7 kB / 0.6115 GB, free: 15.46 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.4288, allocations: 0.8763 MB / 0.6123 GB, free: 14.58 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4288, allocations: 3.984 kB / 0.6123 GB, free: 14.58 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4288, allocations: 0 / 0.6123 GB, free: 14.58 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.4288, allocations: 2.156 kB / 0.6123 GB, free: 14.58 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.001251/0.4301, allocations: 0.8727 MB / 0.6132 GB, free: 13.66 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.4301, allocations: 9.109 kB / 0.6132 GB, free: 13.65 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.4303, allocations: 66.75 kB / 0.6133 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000581/0.4309, allocations: 445.1 kB / 0.6137 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.4309, allocations: 20.56 kB / 0.6137 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.123e-05/0.431, allocations: 28 kB / 0.6137 GB, free: 13.06 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005109/0.4315, allocations: 290.1 kB / 0.614 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.4315, allocations: 0 / 0.614 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.4315, allocations: 4 kB / 0.614 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.4316, allocations: 8 kB / 0.614 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004227/0.432, allocations: 194 kB / 0.6142 GB, free: 12.56 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.001869/0.4339, allocations: 1.49 MB / 0.6157 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.4342, allocations: 165.9 kB / 0.6158 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.4344, allocations: 84.81 kB / 0.6159 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001648/0.4361, allocations: 1.284 MB / 0.6171 GB, free: 9.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.4361, allocations: 34.56 kB / 0.6172 GB, free: 9.188 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.733e-06/0.4361, allocations: 0 / 0.6172 GB, free: 9.188 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006345/0.4368, allocations: 251.9 kB / 0.6174 GB, free: 8.938 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.4368, allocations: 51.41 kB / 0.6175 GB, free: 8.875 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006435/0.4375, allocations: 0.5886 MB / 0.618 GB, free: 8.273 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.4375, allocations: 33.7 kB / 0.6181 GB, free: 8.234 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.4377, allocations: 272.1 kB / 0.6183 GB, free: 7.965 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.039e-05/0.4377, allocations: 55.2 kB / 0.6184 GB, free: 7.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.76e-05/0.4378, allocations: 69.88 kB / 0.6185 GB, free: 7.836 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.438, allocations: 354.8 kB / 0.6188 GB, free: 7.48 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.4382, allocations: 81.92 kB / 0.6189 GB, free: 7.398 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.4385, allocations: 210.8 kB / 0.6191 GB, free: 7.145 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004133/0.4389, allocations: 233.2 kB / 0.6193 GB, free: 6.883 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4389, allocations: 0 / 0.6193 GB, free: 6.883 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005873/0.4395, allocations: 319.1 kB / 0.6196 GB, free: 6.566 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.4395, allocations: 8.25 kB / 0.6196 GB, free: 6.559 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4396, allocations: 4 kB / 0.6196 GB, free: 6.555 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.4396, allocations: 4 kB / 0.6196 GB, free: 6.551 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.4398, allocations: 59.91 kB / 0.6197 GB, free: 6.492 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.4399, allocations: 4 kB / 0.6197 GB, free: 6.488 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000315/0.4402, allocations: 43.66 kB / 0.6197 GB, free: 6.445 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/0.4402, allocations: 16 kB / 0.6197 GB, free: 6.43 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003008/0.4405, allocations: 212.6 kB / 0.6199 GB, free: 6.219 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002862/0.4408, allocations: 213.5 kB / 0.6201 GB, free: 5.961 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003844/0.4412, allocations: 237.3 kB / 0.6204 GB, free: 5.695 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.026e-06/0.4412, allocations: 4 kB / 0.6204 GB, free: 5.691 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005547/0.4418, allocations: 306.8 kB / 0.6207 GB, free: 5.387 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.4418, allocations: 8.25 kB / 0.6207 GB, free: 5.379 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4418, allocations: 8 kB / 0.6207 GB, free: 5.371 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.109e-06/0.4418, allocations: 7.938 kB / 0.6207 GB, free: 5.363 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.4421, allocations: 63.89 kB / 0.6207 GB, free: 5.301 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.4421, allocations: 4 kB / 0.6207 GB, free: 5.297 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003301/0.4424, allocations: 31.83 kB / 0.6208 GB, free: 5.266 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.4424, allocations: 19.98 kB / 0.6208 GB, free: 5.246 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.0001268/0.4426, allocations: 205 kB / 0.621 GB, free: 5.039 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.731e-05/0.4427, allocations: 47.56 kB / 0.621 GB, free: 4.992 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005537/0.4432, allocations: 257.6 kB / 0.6213 GB, free: 4.73 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.4432, allocations: 4 kB / 0.6213 GB, free: 4.727 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4432, allocations: 0 / 0.6213 GB, free: 4.727 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.4432, allocations: 0 / 0.6213 GB, free: 4.727 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.4443, allocations: 0.7317 MB / 0.622 GB, free: 3.926 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.4443, allocations: 8 kB / 0.622 GB, free: 3.918 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.4444, allocations: 35.91 kB / 0.622 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.4444, allocations: 0 / 0.622 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.4445, allocations: 4.125 kB / 0.622 GB, free: 3.879 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.4445, allocations: 4 kB / 0.6221 GB, free: 3.875 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.4445, allocations: 4 kB / 0.6221 GB, free: 3.871 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004988/0.445, allocations: 360 kB / 0.6224 GB, free: 3.492 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.4451, allocations: 144.4 kB / 0.6225 GB, free: 3.332 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6e-05/0.4452, allocations: 4 kB / 0.6225 GB, free: 3.328 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.4454, allocations: 11.98 kB / 0.6226 GB, free: 3.316 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.4455, allocations: 15.92 kB / 0.6226 GB, free: 3.301 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.4455, allocations: 8 kB / 0.6226 GB, free: 3.293 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000465/0.446, allocations: 422.8 kB / 0.623 GB, free: 2.883 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.446, allocations: 4 kB / 0.623 GB, free: 2.879 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007241/0.4467, allocations: 227.7 kB / 0.6232 GB, free: 2.656 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.001165/0.4479, allocations: 0.492 MB / 0.6237 GB, free: 2.328 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007633/0.4486, allocations: 336.2 kB / 0.624 GB, free: 2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4487, allocations: 4.25 kB / 0.624 GB, free: 1.996 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.4489, allocations: 83.89 kB / 0.6241 GB, free: 1.914 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.45, allocations: 249.5 kB / 0.6243 GB, free: 1.688 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.4515, allocations: 0.8501 MB / 0.6252 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/0.4519, allocations: 0.8389 MB / 0.626 GB, free: 15.92 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.218e-05/0.452, allocations: 51.36 kB / 0.626 GB, free: 15.87 MB / 478.1 MB Notification: Performance of SimCode: time 4.61e-07/0.452, allocations: 4 kB / 0.626 GB, free: 15.87 MB / 478.1 MB Notification: Performance of Templates: time 0.01212/0.4641, allocations: 8.51 MB / 0.6343 GB, free: 7.445 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)