Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 115.2 kB / 16.37 MB, free: 6.016 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.001263/0.001263, allocations: 193.2 kB / 17.31 MB, free: 5.609 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.805/0.805, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 59.91 kB / 0.5068 GB, free: 7.656 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3873, allocations: 80.91 MB / 0.5858 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01363/0.401, allocations: 15.55 MB / 0.601 GB, free: 10.94 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006305/0.4074, allocations: 4.327 MB / 0.6052 GB, free: 6.625 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007242/0.4081, allocations: 15.88 kB / 0.6052 GB, free: 6.609 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.4092, allocations: 269.1 kB / 0.6055 GB, free: 6.348 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001515/0.4108, allocations: 0.6027 MB / 0.606 GB, free: 5.746 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.4126, allocations: 0.7133 MB / 0.6067 GB, free: 5.051 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001187/0.4138, allocations: 1.037 MB / 0.6078 GB, free: 4.012 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000415/0.4143, allocations: 329.9 kB / 0.6081 GB, free: 3.703 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005822/0.4149, allocations: 420.3 kB / 0.6085 GB, free: 3.293 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003429/0.4152, allocations: 322.5 kB / 0.6088 GB, free: 2.977 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.756e-05/0.4153, allocations: 28 kB / 0.6088 GB, free: 2.949 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009884/0.4163, allocations: 0.6294 MB / 0.6094 GB, free: 2.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.4164, allocations: 103.5 kB / 0.6095 GB, free: 2.219 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.4166, allocations: 222.8 kB / 0.6097 GB, free: 2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008363/0.4174, allocations: 0.767 MB / 0.6105 GB, free: 1.234 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.4174, allocations: 4.562 kB / 0.6105 GB, free: 1.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.103e-06/0.4175, allocations: 1.719 kB / 0.6105 GB, free: 1.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.856e-06/0.4175, allocations: 0 / 0.6105 GB, free: 1.23 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.00105/0.4185, allocations: 0.8238 MB / 0.6113 GB, free: 368 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.4186, allocations: 13.11 kB / 0.6113 GB, free: 356 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.4187, allocations: 56.22 kB / 0.6114 GB, free: 300 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007335/0.4194, allocations: 435.9 kB / 0.6118 GB, free: 15.83 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.4195, allocations: 24.38 kB / 0.6118 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.008e-05/0.4195, allocations: 31.97 kB / 0.6118 GB, free: 15.78 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000432/0.42, allocations: 207.2 kB / 0.612 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.42, allocations: 0 / 0.612 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.42, allocations: 12 kB / 0.612 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.42, allocations: 4 kB / 0.612 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003947/0.4204, allocations: 165.6 kB / 0.6122 GB, free: 15.39 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.001731/0.4222, allocations: 0.9544 MB / 0.6131 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.4225, allocations: 130.4 kB / 0.6133 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.4226, allocations: 64.83 kB / 0.6133 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003229/0.423, allocations: 336.4 kB / 0.6136 GB, free: 13.76 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.423, allocations: 34.56 kB / 0.6137 GB, free: 13.71 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.423, allocations: 0 / 0.6137 GB, free: 13.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006172/0.4237, allocations: 244.6 kB / 0.6139 GB, free: 13.47 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.4237, allocations: 59.28 kB / 0.614 GB, free: 13.41 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005019/0.4242, allocations: 474 kB / 0.6144 GB, free: 12.93 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.4243, allocations: 33.7 kB / 0.6144 GB, free: 12.89 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.4244, allocations: 224.6 kB / 0.6147 GB, free: 12.66 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.472e-05/0.4245, allocations: 51.33 kB / 0.6147 GB, free: 12.61 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.275e-05/0.4246, allocations: 61.69 kB / 0.6148 GB, free: 12.55 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.4248, allocations: 354.7 kB / 0.6151 GB, free: 12.19 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.425, allocations: 72.81 kB / 0.6152 GB, free: 12.12 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.4252, allocations: 163.3 kB / 0.6153 GB, free: 11.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/0.4256, allocations: 160.7 kB / 0.6155 GB, free: 11.77 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.4256, allocations: 0 / 0.6155 GB, free: 11.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004851/0.4261, allocations: 245 kB / 0.6157 GB, free: 11.52 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.4261, allocations: 8 kB / 0.6157 GB, free: 11.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.4261, allocations: 7.984 kB / 0.6157 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.4261, allocations: 0 / 0.6157 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.4264, allocations: 51.91 kB / 0.6158 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.4264, allocations: 0 / 0.6158 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000285/0.4267, allocations: 43.61 kB / 0.6158 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.53e-05/0.4267, allocations: 15.92 kB / 0.6158 GB, free: 11.4 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002813/0.427, allocations: 188.1 kB / 0.616 GB, free: 11.21 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000238/0.4273, allocations: 165.3 kB / 0.6162 GB, free: 11.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003007/0.4276, allocations: 167.1 kB / 0.6163 GB, free: 10.84 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-06/0.4276, allocations: 4 kB / 0.6163 GB, free: 10.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004536/0.428, allocations: 249 kB / 0.6166 GB, free: 10.59 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.405e-06/0.4281, allocations: 6.344 kB / 0.6166 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.257e-06/0.4281, allocations: 4.188 kB / 0.6166 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-06/0.4281, allocations: 0 / 0.6166 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.4283, allocations: 51.97 kB / 0.6166 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.4283, allocations: 4 kB / 0.6166 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003022/0.4286, allocations: 31.88 kB / 0.6167 GB, free: 10.49 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.4286, allocations: 15.94 kB / 0.6167 GB, free: 10.48 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.000135/0.4288, allocations: 198.3 kB / 0.6169 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.107e-05/0.4288, allocations: 43.42 kB / 0.6169 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005551/0.4294, allocations: 254.8 kB / 0.6172 GB, free: 9.98 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.4294, allocations: 0 / 0.6172 GB, free: 9.98 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4294, allocations: 0 / 0.6172 GB, free: 9.98 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.4294, allocations: 7.984 kB / 0.6172 GB, free: 9.973 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009659/0.4304, allocations: 0.7044 MB / 0.6178 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.4304, allocations: 0 / 0.6178 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.4306, allocations: 27.98 kB / 0.6179 GB, free: 9.172 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.4306, allocations: 3.938 kB / 0.6179 GB, free: 9.168 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.4306, allocations: 11.94 kB / 0.6179 GB, free: 9.156 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4306, allocations: 3.938 kB / 0.6179 GB, free: 9.152 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.4306, allocations: 7.984 kB / 0.6179 GB, free: 9.145 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000471/0.4311, allocations: 338.4 kB / 0.6182 GB, free: 8.785 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.4313, allocations: 132.5 kB / 0.6184 GB, free: 8.637 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.3e-05/0.4313, allocations: 7.922 kB / 0.6184 GB, free: 8.629 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.4315, allocations: 19.98 kB / 0.6184 GB, free: 8.609 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.588e-05/0.4316, allocations: 15.92 kB / 0.6184 GB, free: 8.594 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.4316, allocations: 8 kB / 0.6184 GB, free: 8.586 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003382/0.432, allocations: 330.9 kB / 0.6187 GB, free: 8.266 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.432, allocations: 7.938 kB / 0.6187 GB, free: 8.258 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000666/0.4326, allocations: 195.7 kB / 0.6189 GB, free: 8.066 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 (16): * Single equations (assignments): 14 * 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.001168/0.4338, allocations: 486.6 kB / 0.6194 GB, free: 7.754 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000658/0.4345, allocations: 275.8 kB / 0.6196 GB, free: 7.484 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4345, allocations: 0 / 0.6196 GB, free: 7.484 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.4347, allocations: 83.88 kB / 0.6197 GB, free: 7.402 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009248/0.4356, allocations: 207.1 kB / 0.6199 GB, free: 7.211 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.4368, allocations: 0.7013 MB / 0.6206 GB, free: 6.473 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.4371, allocations: 0.823 MB / 0.6214 GB, free: 5.621 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002507/0.4374, allocations: 90.16 kB / 0.6215 GB, free: 5.535 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/0.4375, allocations: 35.44 kB / 0.6215 GB, free: 5.5 MB / 462.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4375, allocations: 4 kB / 0.6215 GB, free: 5.496 MB / 462.1 MB Notification: Performance of Templates: time 0.0162/0.4537, allocations: 8.467 MB / 0.6298 GB, free: 13.16 MB / 478.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)