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.001122/0.001122, allocations: 115.8 kB / 16.37 MB, free: 6 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.001236/0.001236, allocations: 193.3 kB / 17.31 MB, free: 5.613 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7822/0.7822, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 59.91 kB / 0.5068 GB, free: 7.656 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3767, allocations: 80.9 MB / 0.5858 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01392/0.3906, allocations: 17.46 MB / 0.6028 GB, free: 9.027 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004829/0.3955, allocations: 4.909 MB / 0.6076 GB, free: 4.133 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000435/0.396, allocations: 15.94 kB / 0.6076 GB, free: 4.117 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006737/0.3967, allocations: 251.6 kB / 0.6079 GB, free: 3.871 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001088/0.3978, allocations: 0.6115 MB / 0.6085 GB, free: 3.262 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.3993, allocations: 0.7284 MB / 0.6092 GB, free: 2.547 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008333/0.4001, allocations: 0.9764 MB / 0.6101 GB, free: 1.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003522/0.4005, allocations: 331.6 kB / 0.6104 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004937/0.401, allocations: 420 kB / 0.6108 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/0.4013, allocations: 309.2 kB / 0.6111 GB, free: 0.543 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.36e-05/0.4014, allocations: 35.94 kB / 0.6112 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.4024, allocations: 0.7253 MB / 0.6119 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.4025, allocations: 131.5 kB / 0.612 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002248/0.4028, allocations: 246.6 kB / 0.6122 GB, free: 15.41 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.4039, allocations: 0.88 MB / 0.6131 GB, free: 14.53 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4039, allocations: 0 / 0.6131 GB, free: 14.53 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4039, allocations: 0.625 kB / 0.6131 GB, free: 14.53 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.4039, allocations: 0.75 kB / 0.6131 GB, free: 14.53 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.001254/0.4052, allocations: 0.884 MB / 0.614 GB, free: 13.6 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.4052, allocations: 13.11 kB / 0.614 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.4054, allocations: 60.19 kB / 0.614 GB, free: 13.53 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006389/0.406, allocations: 464.3 kB / 0.6145 GB, free: 13.04 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.4061, allocations: 28.56 kB / 0.6145 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.297e-05/0.4061, allocations: 28 kB / 0.6145 GB, free: 12.98 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005872/0.4067, allocations: 281.3 kB / 0.6148 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.4067, allocations: 0 / 0.6148 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.4068, allocations: 12 kB / 0.6148 GB, free: 12.67 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.4068, allocations: 4 kB / 0.6148 GB, free: 12.67 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003931/0.4072, allocations: 194.1 kB / 0.615 GB, free: 12.48 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.001762/0.409, allocations: 1.483 MB / 0.6165 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.4093, allocations: 158.8 kB / 0.6166 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.4094, allocations: 88.81 kB / 0.6167 GB, free: 10.63 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001528/0.411, allocations: 1.284 MB / 0.6179 GB, free: 9.156 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.411, allocations: 38.56 kB / 0.618 GB, free: 9.109 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.432e-06/0.411, allocations: 0 / 0.618 GB, free: 9.109 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006239/0.4117, allocations: 241.1 kB / 0.6182 GB, free: 8.867 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.4117, allocations: 55.41 kB / 0.6183 GB, free: 8.801 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007026/0.4124, allocations: 0.5809 MB / 0.6188 GB, free: 8.207 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.4125, allocations: 33.7 kB / 0.6189 GB, free: 8.168 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.4127, allocations: 272.1 kB / 0.6191 GB, free: 7.898 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.147e-05/0.4128, allocations: 47.2 kB / 0.6192 GB, free: 7.852 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.4129, allocations: 77.88 kB / 0.6192 GB, free: 7.77 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.4131, allocations: 358.8 kB / 0.6196 GB, free: 7.41 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.4132, allocations: 81.88 kB / 0.6197 GB, free: 7.328 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002916/0.4135, allocations: 206.8 kB / 0.6199 GB, free: 7.078 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003897/0.4139, allocations: 233.2 kB / 0.6201 GB, free: 6.816 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.414, allocations: 4 kB / 0.6201 GB, free: 6.812 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005722/0.4145, allocations: 311.1 kB / 0.6204 GB, free: 6.504 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.4146, allocations: 4.25 kB / 0.6204 GB, free: 6.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.4146, allocations: 8 kB / 0.6204 GB, free: 6.492 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.4146, allocations: 4 kB / 0.6204 GB, free: 6.488 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.4149, allocations: 67.89 kB / 0.6205 GB, free: 6.422 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.4149, allocations: 7.938 kB / 0.6205 GB, free: 6.414 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002892/0.4152, allocations: 39.67 kB / 0.6205 GB, free: 6.375 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/0.4152, allocations: 16.09 kB / 0.6205 GB, free: 6.359 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003028/0.4155, allocations: 216.6 kB / 0.6207 GB, free: 6.145 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002684/0.4158, allocations: 205.6 kB / 0.6209 GB, free: 5.895 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003733/0.4162, allocations: 239.4 kB / 0.6212 GB, free: 5.629 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.4162, allocations: 0 / 0.6212 GB, free: 5.629 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005221/0.4167, allocations: 312.6 kB / 0.6215 GB, free: 5.316 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.363e-06/0.4167, allocations: 7.938 kB / 0.6215 GB, free: 5.309 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.4168, allocations: 8.25 kB / 0.6215 GB, free: 5.301 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.589e-06/0.4168, allocations: 7.938 kB / 0.6215 GB, free: 5.293 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.417, allocations: 63.91 kB / 0.6215 GB, free: 5.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.417, allocations: 4 kB / 0.6215 GB, free: 5.227 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.4173, allocations: 35.81 kB / 0.6216 GB, free: 5.191 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.4173, allocations: 16 kB / 0.6216 GB, free: 5.176 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.0001104/0.4175, allocations: 197 kB / 0.6218 GB, free: 4.977 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.243e-05/0.4176, allocations: 55.38 kB / 0.6218 GB, free: 4.922 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005522/0.4181, allocations: 265.2 kB / 0.6221 GB, free: 4.656 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.4181, allocations: 0 / 0.6221 GB, free: 4.656 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4181, allocations: 0 / 0.6221 GB, free: 4.656 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.4181, allocations: 3.984 kB / 0.6221 GB, free: 4.652 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.4192, allocations: 0.7317 MB / 0.6228 GB, free: 3.852 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4193, allocations: 0 / 0.6228 GB, free: 3.852 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.4194, allocations: 31.98 kB / 0.6228 GB, free: 3.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.4194, allocations: 4 kB / 0.6228 GB, free: 3.816 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.4194, allocations: 0 / 0.6228 GB, free: 3.816 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.4194, allocations: 7.938 kB / 0.6228 GB, free: 3.809 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.4194, allocations: 4.125 kB / 0.6228 GB, free: 3.805 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004856/0.4199, allocations: 354.6 kB / 0.6232 GB, free: 3.434 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/0.4201, allocations: 148.5 kB / 0.6233 GB, free: 3.27 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.428e-05/0.4202, allocations: 11.98 kB / 0.6233 GB, free: 3.258 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.4204, allocations: 4 kB / 0.6233 GB, free: 3.254 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.4204, allocations: 27.84 kB / 0.6234 GB, free: 3.227 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.4204, allocations: 4 kB / 0.6234 GB, free: 3.223 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004187/0.4209, allocations: 422.8 kB / 0.6238 GB, free: 2.812 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4209, allocations: 0 / 0.6238 GB, free: 2.812 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006718/0.4216, allocations: 227.7 kB / 0.624 GB, free: 2.59 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.001164/0.4227, allocations: 0.5036 MB / 0.6245 GB, free: 2.246 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006988/0.4234, allocations: 319.5 kB / 0.6248 GB, free: 1.934 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4234, allocations: 1 kB / 0.6248 GB, free: 1.934 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.4236, allocations: 91.95 kB / 0.6249 GB, free: 1.844 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.4247, allocations: 245.4 kB / 0.6251 GB, free: 1.621 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.4259, allocations: 0.8016 MB / 0.6259 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.4264, allocations: 0.8428 MB / 0.6267 GB, free: 15.91 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003099/0.4267, allocations: 106.7 kB / 0.6268 GB, free: 15.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.788e-05/0.4268, allocations: 39.42 kB / 0.6269 GB, free: 15.76 MB / 478.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4268, allocations: 4 kB / 0.6269 GB, free: 15.76 MB / 478.1 MB Notification: Performance of Templates: time 0.01649/0.4433, allocations: 10.18 MB / 0.6368 GB, free: 5.73 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)