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.001242/0.001242, allocations: 91.38 kB / 15.06 MB, free: 1.094 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.001549/0.001549, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9985/0.9985, allocations: 135.3 MB / 426.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004666/0.0004666, allocations: 8 kB / 0.507 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2153, allocations: 82.31 MB / 0.5874 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01535/0.2307, allocations: 14.21 MB / 0.6013 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006648/0.2374, allocations: 4.068 MB / 0.6052 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000675/0.2381, allocations: 7.938 kB / 0.6052 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009095/0.239, allocations: 198.8 kB / 0.6054 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.3811/0.6201, allocations: 490 kB / 0.6059 GB, free: 35.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002202/0.6224, allocations: 0.5965 MB / 0.6065 GB, free: 35.16 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001486/0.6239, allocations: 1.126 MB / 0.6076 GB, free: 35.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004336/0.6243, allocations: 258.5 kB / 0.6078 GB, free: 35.14 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006415/0.625, allocations: 372.8 kB / 0.6082 GB, free: 35.14 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003663/0.6254, allocations: 297 kB / 0.6085 GB, free: 35.14 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.59e-05/0.6254, allocations: 13.56 kB / 0.6085 GB, free: 35.14 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.6265, allocations: 0.538 MB / 0.609 GB, free: 35.14 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.475e-05/0.6266, allocations: 84.8 kB / 0.6091 GB, free: 35.14 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.548e-05/0.6267, allocations: 108.6 kB / 0.6092 GB, free: 35.11 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005882/0.6273, allocations: 0.5195 MB / 0.6097 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.6273, allocations: 0 / 0.6097 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.284e-06/0.6273, allocations: 0 / 0.6097 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.869e-05/0.6273, allocations: 5.906 kB / 0.6097 GB, free: 35.08 MB / 0.4981 GB 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.001062/0.6284, allocations: 0.7526 MB / 0.6104 GB, free: 34.54 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.6284, allocations: 12.06 kB / 0.6104 GB, free: 34.54 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.075e-05/0.6285, allocations: 53.38 kB / 0.6105 GB, free: 34.51 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00054/0.6291, allocations: 394.9 kB / 0.6109 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.6291, allocations: 18.72 kB / 0.6109 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.608e-05/0.6292, allocations: 30.03 kB / 0.6109 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004386/0.6296, allocations: 214.3 kB / 0.6111 GB, free: 34.24 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.6296, allocations: 0.5625 kB / 0.6111 GB, free: 34.24 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.6297, allocations: 8.516 kB / 0.6111 GB, free: 34.24 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.6297, allocations: 5.812 kB / 0.6111 GB, free: 34.24 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/0.6301, allocations: 177.8 kB / 0.6113 GB, free: 34.24 MB / 0.4981 GB 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.001639/0.6317, allocations: 0.9537 MB / 0.6122 GB, free: 33.79 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/0.632, allocations: 137 kB / 0.6124 GB, free: 33.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.6322, allocations: 81.02 kB / 0.6124 GB, free: 33.76 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002878/0.6325, allocations: 338 kB / 0.6128 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.6325, allocations: 34.62 kB / 0.6128 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.6326, allocations: 0 / 0.6128 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0006913/0.6333, allocations: 254.4 kB / 0.613 GB, free: 33.28 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.6333, allocations: 54.38 kB / 0.6131 GB, free: 33.22 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005698/0.6339, allocations: 474.8 kB / 0.6136 GB, free: 33.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.6339, allocations: 32.3 kB / 0.6136 GB, free: 33.06 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.6341, allocations: 230.7 kB / 0.6138 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.6341, allocations: 56.8 kB / 0.6139 GB, free: 32.92 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.868e-06/0.6342, allocations: 5.812 kB / 0.6139 GB, free: 32.92 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.6343, allocations: 349.1 kB / 0.6142 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.6344, allocations: 66.91 kB / 0.6143 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.6347, allocations: 153.8 kB / 0.6144 GB, free: 32.54 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.6349, allocations: 92.42 kB / 0.6145 GB, free: 32.53 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.6349, allocations: 3.953 kB / 0.6145 GB, free: 32.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004414/0.6353, allocations: 251.7 kB / 0.6147 GB, free: 32.47 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.847e-05/0.6354, allocations: 120.1 kB / 0.6149 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.6354, allocations: 0.8125 kB / 0.6149 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.6354, allocations: 2.688 kB / 0.6149 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.6357, allocations: 51.41 kB / 0.6149 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.6357, allocations: 0 / 0.6149 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.636, allocations: 50.44 kB / 0.615 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.6361, allocations: 15.05 kB / 0.615 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.553e-06/0.6361, allocations: 2.969 kB / 0.615 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003675/0.6364, allocations: 188.2 kB / 0.6151 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.6365, allocations: 7.078 kB / 0.6152 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.366e-06/0.6365, allocations: 2.531 kB / 0.6152 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.6367, allocations: 48.91 kB / 0.6152 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.6367, allocations: 0 / 0.6152 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/0.6369, allocations: 50.3 kB / 0.6153 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.637, allocations: 10.7 kB / 0.6153 GB, free: 32.32 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001794/0.6372, allocations: 238.5 kB / 0.6155 GB, free: 32.13 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.832e-05/0.6372, allocations: 44.17 kB / 0.6155 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005312/0.6378, allocations: 259 kB / 0.6158 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.6378, allocations: 5.797 kB / 0.6158 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.6378, allocations: 0 / 0.6158 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.6378, allocations: 0 / 0.6158 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009162/0.6387, allocations: 0.7169 MB / 0.6165 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.6388, allocations: 2.906 kB / 0.6165 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.6389, allocations: 36.44 kB / 0.6165 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.6389, allocations: 0 / 0.6165 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.6389, allocations: 9.156 kB / 0.6165 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.6389, allocations: 2.969 kB / 0.6165 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.6389, allocations: 2.906 kB / 0.6165 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004181/0.6393, allocations: 354.9 kB / 0.6169 GB, free: 31.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.6395, allocations: 141.2 kB / 0.617 GB, free: 31.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.138e-05/0.6395, allocations: 2.875 kB / 0.617 GB, free: 31.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.6398, allocations: 32.3 kB / 0.617 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.507e-05/0.6398, allocations: 13.42 kB / 0.6171 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.6399, allocations: 12.75 kB / 0.6171 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003585/0.6402, allocations: 327.3 kB / 0.6174 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.41e-07/0.6402, allocations: 0 / 0.6174 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000802/0.641, allocations: 206 kB / 0.6176 GB, free: 31.27 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001134/0.6422, allocations: 476.9 kB / 0.618 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005816/0.6428, allocations: 280.1 kB / 0.6183 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.6428, allocations: 10.75 kB / 0.6183 GB, free: 31.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.643, allocations: 90.14 kB / 0.6184 GB, free: 31.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.6441, allocations: 217.8 kB / 0.6186 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.6453, allocations: 0.844 MB / 0.6194 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.6455, allocations: 0.8253 MB / 0.6202 GB, free: 29.92 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000305/0.6459, allocations: 88.78 kB / 0.6203 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.354e-05/0.6459, allocations: 40.33 kB / 0.6204 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.6459, allocations: 2.297 kB / 0.6204 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of Templates: time 0.01479/0.6607, allocations: 8.068 MB / 0.6282 GB, free: 29.25 MB / 0.4981 GB 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)