Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.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.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001217, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 199.2 kB / 16.79 MB, free: 6.809 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.459/1.459, allocations: 222.9 MB / 240.5 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.021/1.021, allocations: 135.1 MB / 425.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 64.16 kB / 0.5053 GB, free: 5.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2014, allocations: 80.92 MB / 0.5844 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.4085/0.6099, allocations: 22.2 MB / 0.606 GB, free: 35.74 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006924/0.6169, allocations: 5.262 MB / 0.6112 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009477/0.6179, allocations: 24.03 kB / 0.6112 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009129/0.6188, allocations: 247.4 kB / 0.6114 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002226/0.6211, allocations: 0.7981 MB / 0.6122 GB, free: 35.6 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001772/0.6228, allocations: 0.6509 MB / 0.6128 GB, free: 35.58 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002019/0.6249, allocations: 1.88 MB / 0.6147 GB, free: 35.4 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006325/0.6255, allocations: 443.5 kB / 0.6151 GB, free: 35.33 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.6266, allocations: 0.5611 MB / 0.6157 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006234/0.6272, allocations: 483.6 kB / 0.6161 GB, free: 35.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.736e-05/0.6273, allocations: 28.47 kB / 0.6161 GB, free: 35.07 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.6285, allocations: 0.584 MB / 0.6167 GB, free: 35.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.6287, allocations: 128.3 kB / 0.6168 GB, free: 34.99 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003152/0.629, allocations: 336.2 kB / 0.6172 GB, free: 34.87 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008074/0.6298, allocations: 0.7845 MB / 0.6179 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.6298, allocations: 0 / 0.6179 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6298, allocations: 0 / 0.6179 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.519e-05/0.6298, allocations: 0 / 0.6179 GB, free: 34.8 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001806/0.6317, allocations: 1.058 MB / 0.619 GB, free: 34.13 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.6317, allocations: 9.75 kB / 0.619 GB, free: 34.13 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.6319, allocations: 78.5 kB / 0.619 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000725/0.6326, allocations: 0.5445 MB / 0.6196 GB, free: 33.8 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.6326, allocations: 42.2 kB / 0.6196 GB, free: 33.79 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.019e-05/0.6327, allocations: 34.84 kB / 0.6196 GB, free: 33.79 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005525/0.6333, allocations: 317.4 kB / 0.6199 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.6333, allocations: 0 / 0.6199 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/0.6333, allocations: 12.69 kB / 0.62 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.737e-05/0.6333, allocations: 12.31 kB / 0.62 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005025/0.6339, allocations: 257.6 kB / 0.6202 GB, free: 33.69 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.002121/0.636, allocations: 1.569 MB / 0.6217 GB, free: 32.65 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003401/0.6363, allocations: 195.2 kB / 0.6219 GB, free: 32.56 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.6365, allocations: 93.81 kB / 0.622 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002805/0.6368, allocations: 421.2 kB / 0.6224 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/0.6368, allocations: 33.75 kB / 0.6225 GB, free: 32.01 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 1.423e-06/0.6368, allocations: 0 / 0.6225 GB, free: 32.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.0007428/0.6376, allocations: 337.3 kB / 0.6228 GB, free: 31.87 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.6376, allocations: 55.41 kB / 0.6228 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006836/0.6383, allocations: 0.6462 MB / 0.6235 GB, free: 31.51 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.6384, allocations: 36.14 kB / 0.6235 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.6385, allocations: 303.2 kB / 0.6238 GB, free: 31.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.077e-05/0.6386, allocations: 65.5 kB / 0.6239 GB, free: 31.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.6387, allocations: 105.8 kB / 0.624 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.228e-05/0.6388, allocations: 371.1 kB / 0.6243 GB, free: 30.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/0.6391, allocations: 138.5 kB / 0.6244 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/0.6394, allocations: 208.5 kB / 0.6246 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004646/0.6399, allocations: 290 kB / 0.6249 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.6399, allocations: 2.625 kB / 0.6249 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000729/0.6406, allocations: 449.2 kB / 0.6253 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.6407, allocations: 5.344 kB / 0.6253 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.6407, allocations: 3.031 kB / 0.6254 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.6407, allocations: 7.406 kB / 0.6254 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008477/0.6416, allocations: 138.6 kB / 0.6255 GB, free: 30.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004694/0.642, allocations: 1.192 MB / 0.6267 GB, free: 29.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004909/0.6425, allocations: 67.17 kB / 0.6267 GB, free: 29.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.994e-05/0.6426, allocations: 19.52 kB / 0.6267 GB, free: 29.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003823/0.643, allocations: 270.5 kB / 0.627 GB, free: 28.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002897/0.6433, allocations: 204.3 kB / 0.6272 GB, free: 28.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004209/0.6437, allocations: 280.9 kB / 0.6275 GB, free: 28.63 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.743e-06/0.6437, allocations: 0 / 0.6275 GB, free: 28.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0006907/0.6444, allocations: 440.1 kB / 0.6279 GB, free: 28.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.6444, allocations: 9.969 kB / 0.6279 GB, free: 28.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/0.6444, allocations: 0 / 0.6279 GB, free: 28.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.827e-06/0.6445, allocations: 3.312 kB / 0.6279 GB, free: 28.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004554/0.6449, allocations: 111.4 kB / 0.628 GB, free: 28.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.6449, allocations: 10.38 kB / 0.628 GB, free: 28.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004359/0.6454, allocations: 42.33 kB / 0.628 GB, free: 28.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/0.6454, allocations: 23.02 kB / 0.6281 GB, free: 28.41 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (51): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.6456, allocations: 200.7 kB / 0.6283 GB, free: 28.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.769e-05/0.6456, allocations: 69.03 kB / 0.6283 GB, free: 28.17 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006417/0.6463, allocations: 315.1 kB / 0.6286 GB, free: 28.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.6463, allocations: 6.234 kB / 0.6286 GB, free: 28.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.6463, allocations: 7.25 kB / 0.6286 GB, free: 28.03 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.6463, allocations: 0 / 0.6286 GB, free: 28.03 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.6474, allocations: 0.9108 MB / 0.6295 GB, free: 27.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.6474, allocations: 3.328 kB / 0.6295 GB, free: 27.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/0.6477, allocations: 51.89 kB / 0.6296 GB, free: 27.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.6477, allocations: 2.812 kB / 0.6296 GB, free: 27.46 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.6478, allocations: 9.969 kB / 0.6296 GB, free: 27.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003678/0.6481, allocations: 1.184 MB / 0.6308 GB, free: 26.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6482, allocations: 4.188 kB / 0.6308 GB, free: 26.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000675/0.6488, allocations: 0.5132 MB / 0.6313 GB, free: 25.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.649, allocations: 170.2 kB / 0.6314 GB, free: 25.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.641e-05/0.6491, allocations: 10.94 kB / 0.6314 GB, free: 25.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003204/0.6494, allocations: 25.38 kB / 0.6315 GB, free: 25.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.798e-05/0.6495, allocations: 16.03 kB / 0.6315 GB, free: 25.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/0.6495, allocations: 13.84 kB / 0.6315 GB, free: 25.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005001/0.65, allocations: 454 kB / 0.6319 GB, free: 25.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.65, allocations: 0 / 0.6319 GB, free: 25.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008342/0.6509, allocations: 297.6 kB / 0.6322 GB, free: 25.53 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (valDyn.val.filter.s[1],valDyn.val.filter.s[2]) * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005308/0.6514, allocations: 258.4 kB / 0.6324 GB, free: 25.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001236/0.6527, allocations: 0.5128 MB / 0.6329 GB, free: 25.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6527, allocations: 0 / 0.6329 GB, free: 25.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.653, allocations: 140.1 kB / 0.6331 GB, free: 25.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.6544, allocations: 297.2 kB / 0.6334 GB, free: 25.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.656, allocations: 1.239 MB / 0.6346 GB, free: 24.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.6563, allocations: 0.891 MB / 0.6354 GB, free: 23.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.6565, allocations: 48.55 kB / 0.6355 GB, free: 23.61 MB / 0.4981 GB Notification: Performance of SimCode: time 6.32e-07/0.6565, allocations: 0 / 0.6355 GB, free: 23.61 MB / 0.4981 GB Notification: Performance of Templates: time 0.02302/0.6795, allocations: 14.97 MB / 0.6501 GB, free: 22.12 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe 2>&1)