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.001473/0.001473, allocations: 105.3 kB / 16.27 MB, free: 6.008 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.001436/0.001435, allocations: 187.4 kB / 17.2 MB, free: 5.617 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.305/1.305, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.818/0.818, allocations: 135.2 MB / 426.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.00187, allocations: 67.89 kB / 0.506 GB, free: 8.332 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3445, allocations: 80.92 MB / 0.5851 GB, free: 25.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.01538/0.3599, allocations: 22.31 MB / 0.6069 GB, free: 4.176 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006036/0.366, allocations: 5.229 MB / 0.612 GB, free: 14.96 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007502/0.3668, allocations: 23.81 kB / 0.612 GB, free: 14.94 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008395/0.3676, allocations: 319.4 kB / 0.6123 GB, free: 14.62 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002206/0.3699, allocations: 0.8634 MB / 0.6131 GB, free: 13.77 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001734/0.3716, allocations: 0.707 MB / 0.6138 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001858/0.3735, allocations: 1.495 MB / 0.6153 GB, free: 11.57 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007041/0.3742, allocations: 0.5125 MB / 0.6158 GB, free: 11.05 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.3753, allocations: 0.6263 MB / 0.6164 GB, free: 10.42 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006311/0.3759, allocations: 489.8 kB / 0.6169 GB, free: 9.941 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9e-05/0.376, allocations: 52 kB / 0.6169 GB, free: 9.891 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.3772, allocations: 0.6317 MB / 0.6175 GB, free: 9.258 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.3774, allocations: 147.4 kB / 0.6177 GB, free: 9.113 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003611/0.3778, allocations: 370 kB / 0.618 GB, free: 8.75 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.379, allocations: 1.051 MB / 0.619 GB, free: 7.695 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3791, allocations: 3.938 kB / 0.619 GB, free: 7.691 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3791, allocations: 4 kB / 0.6191 GB, free: 7.688 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.3791, allocations: 0 / 0.6191 GB, free: 7.688 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.00178/0.3809, allocations: 1.051 MB / 0.6201 GB, free: 6.586 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.3809, allocations: 13.11 kB / 0.6201 GB, free: 6.574 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.3811, allocations: 80 kB / 0.6202 GB, free: 6.496 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000811/0.3819, allocations: 0.5466 MB / 0.6207 GB, free: 5.91 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.3819, allocations: 28.66 kB / 0.6207 GB, free: 5.883 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-05/0.382, allocations: 44 kB / 0.6208 GB, free: 5.84 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005804/0.3826, allocations: 310 kB / 0.6211 GB, free: 5.527 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3826, allocations: 0 / 0.6211 GB, free: 5.527 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.122e-05/0.3827, allocations: 16 kB / 0.6211 GB, free: 5.512 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.541e-05/0.3827, allocations: 12.66 kB / 0.6211 GB, free: 5.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005314/0.3832, allocations: 258.4 kB / 0.6213 GB, free: 5.25 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.002442/0.3857, allocations: 1.576 MB / 0.6229 GB, free: 3.547 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003729/0.3861, allocations: 189.6 kB / 0.6231 GB, free: 3.355 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.3863, allocations: 100.8 kB / 0.6232 GB, free: 3.254 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003835/0.3867, allocations: 421.5 kB / 0.6236 GB, free: 2.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.3867, allocations: 34.56 kB / 0.6236 GB, free: 2.707 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 1.413e-06/0.3867, allocations: 0 / 0.6236 GB, free: 2.707 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007545/0.3875, allocations: 331.2 kB / 0.6239 GB, free: 2.379 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.3875, allocations: 59.34 kB / 0.624 GB, free: 2.309 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007751/0.3883, allocations: 0.6487 MB / 0.6246 GB, free: 1.652 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.3884, allocations: 33.7 kB / 0.6246 GB, free: 1.613 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/0.3886, allocations: 300.4 kB / 0.6249 GB, free: 1.312 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.219e-05/0.3887, allocations: 71.09 kB / 0.625 GB, free: 1.242 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.3888, allocations: 98.02 kB / 0.6251 GB, free: 1.141 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.389, allocations: 378.7 kB / 0.6254 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003019/0.3894, allocations: 138.5 kB / 0.6256 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/0.3897, allocations: 206.3 kB / 0.6258 GB, free: 408 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005352/0.3903, allocations: 293.1 kB / 0.626 GB, free: 96 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.3903, allocations: 4 kB / 0.6261 GB, free: 92 kB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008363/0.3911, allocations: 452.6 kB / 0.6265 GB, free: 15.64 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.3911, allocations: 8 kB / 0.6265 GB, free: 15.63 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3911, allocations: 0 / 0.6265 GB, free: 15.63 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3912, allocations: 8.062 kB / 0.6265 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008178/0.392, allocations: 143.8 kB / 0.6266 GB, free: 15.48 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007512/0.3928, allocations: 1.188 MB / 0.6278 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004406/0.3932, allocations: 59.44 kB / 0.6279 GB, free: 14.19 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.3933, allocations: 16 kB / 0.6279 GB, free: 14.18 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004395/0.3937, allocations: 276.9 kB / 0.6281 GB, free: 13.9 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003381/0.394, allocations: 206.3 kB / 0.6283 GB, free: 13.68 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005066/0.3946, allocations: 281.4 kB / 0.6286 GB, free: 13.39 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.713e-06/0.3946, allocations: 0 / 0.6286 GB, free: 13.39 MB / 478.1 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0007864/0.3954, allocations: 440.6 kB / 0.629 GB, free: 12.95 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.3954, allocations: 5.719 kB / 0.629 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3954, allocations: 0 / 0.629 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.163e-06/0.3954, allocations: 7.938 kB / 0.629 GB, free: 12.94 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004703/0.3959, allocations: 107.9 kB / 0.6291 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.3959, allocations: 7.984 kB / 0.6291 GB, free: 12.83 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003786/0.3963, allocations: 31.89 kB / 0.6292 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/0.3963, allocations: 19.98 kB / 0.6292 GB, free: 12.78 MB / 478.1 MB 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.0001496/0.3965, allocations: 204.1 kB / 0.6294 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.3966, allocations: 63.16 kB / 0.6294 GB, free: 12.51 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007047/0.3973, allocations: 322.5 kB / 0.6298 GB, free: 12.19 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.607e-06/0.3973, allocations: 4 kB / 0.6298 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3973, allocations: 0 / 0.6298 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3973, allocations: 4 kB / 0.6298 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.3987, allocations: 0.9072 MB / 0.6306 GB, free: 11.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3987, allocations: 0 / 0.6306 GB, free: 11.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002868/0.399, allocations: 63.83 kB / 0.6307 GB, free: 11.14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.399, allocations: 4 kB / 0.6307 GB, free: 11.14 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/0.399, allocations: 11.94 kB / 0.6307 GB, free: 11.12 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006558/0.3997, allocations: 1.18 MB / 0.6319 GB, free: 9.898 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3997, allocations: 4.219 kB / 0.6319 GB, free: 9.895 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008056/0.4005, allocations: 0.5085 MB / 0.6324 GB, free: 9.359 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/0.4007, allocations: 180.2 kB / 0.6325 GB, free: 9.164 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.392e-05/0.4008, allocations: 8 kB / 0.6326 GB, free: 9.156 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/0.4011, allocations: 19.97 kB / 0.6326 GB, free: 9.137 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.869e-05/0.4011, allocations: 16.05 kB / 0.6326 GB, free: 9.121 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.4012, allocations: 8 kB / 0.6326 GB, free: 9.113 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005833/0.4018, allocations: 455 kB / 0.633 GB, free: 8.672 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4018, allocations: 0 / 0.633 GB, free: 8.672 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008143/0.4026, allocations: 303.5 kB / 0.6333 GB, free: 8.375 MB / 478.1 MB 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.0004983/0.4031, allocations: 245.8 kB / 0.6336 GB, free: 8.137 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001379/0.4045, allocations: 0.53 MB / 0.6341 GB, free: 7.609 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.4045, allocations: 0 / 0.6341 GB, free: 7.609 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000342/0.4048, allocations: 140.2 kB / 0.6342 GB, free: 7.473 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.4061, allocations: 279.2 kB / 0.6345 GB, free: 7.219 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.4078, allocations: 1.042 MB / 0.6355 GB, free: 6.129 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004951/0.4083, allocations: 0.8903 MB / 0.6364 GB, free: 5.211 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.4084, allocations: 47.44 kB / 0.6364 GB, free: 5.164 MB / 478.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4084, allocations: 0 / 0.6364 GB, free: 5.164 MB / 478.1 MB Notification: Performance of Templates: time 0.02008/0.4285, allocations: 14.88 MB / 0.6509 GB, free: 6.383 MB / 494.1 MB 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)