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.006016/0.006016, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001288/0.001288, allocations: 190 kB / 16.67 MB, free: 5.977 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9699/0.9699, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.91 kB / 0.5856 GB, free: 3.375 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4407/0.442, allocations: 80.91 MB / 0.6646 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.02088/0.4629, allocations: 22.32 MB / 0.6864 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007533/0.4705, allocations: 5.242 MB / 0.6916 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007681/0.4713, allocations: 19.5 kB / 0.6916 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008362/0.4722, allocations: 323.8 kB / 0.6919 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0022/0.4744, allocations: 0.9044 MB / 0.6928 GB, free: 412 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.4763, allocations: 0.7133 MB / 0.6935 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001764/0.478, allocations: 1.506 MB / 0.6949 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006653/0.4787, allocations: 0.5132 MB / 0.6954 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.4798, allocations: 0.6509 MB / 0.6961 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005887/0.4804, allocations: 479.4 kB / 0.6965 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.132e-05/0.4805, allocations: 57.97 kB / 0.6966 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.4816, allocations: 0.6382 MB / 0.6972 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.4818, allocations: 152.2 kB / 0.6974 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003307/0.4821, allocations: 358.5 kB / 0.6977 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.4833, allocations: 1.072 MB / 0.6987 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4834, allocations: 0 / 0.6987 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.282e-06/0.4834, allocations: 0 / 0.6987 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.271e-05/0.4834, allocations: 1.375 kB / 0.6987 GB, free: 12.53 MB / 0.5294 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.001689/0.4851, allocations: 1.052 MB / 0.6998 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.4851, allocations: 9.719 kB / 0.6998 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001504/0.4853, allocations: 78.03 kB / 0.6999 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008458/0.4861, allocations: 0.5751 MB / 0.7004 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.4862, allocations: 32.42 kB / 0.7004 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.844e-05/0.4863, allocations: 38.88 kB / 0.7005 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005891/0.4868, allocations: 315.5 kB / 0.7008 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.4869, allocations: 5.312 kB / 0.7008 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.083e-05/0.4869, allocations: 13.69 kB / 0.7008 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.4869, allocations: 12.22 kB / 0.7008 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005454/0.4875, allocations: 255.6 kB / 0.7011 GB, free: 10.79 MB / 0.5294 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.002413/0.4899, allocations: 1.572 MB / 0.7026 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003651/0.4903, allocations: 194.1 kB / 0.7028 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.4905, allocations: 94.72 kB / 0.7029 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003611/0.4909, allocations: 416.9 kB / 0.7033 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.4909, allocations: 32.03 kB / 0.7033 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 1.623e-06/0.4909, allocations: 0 / 0.7033 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of matching and sorting (n=19): time 0.0007922/0.4917, allocations: 335.3 kB / 0.7036 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.4918, allocations: 56.81 kB / 0.7037 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007953/0.4926, allocations: 0.6441 MB / 0.7043 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.642e-05/0.4926, allocations: 31.05 kB / 0.7043 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.4929, allocations: 307 kB / 0.7046 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.621e-05/0.493, allocations: 64.2 kB / 0.7047 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.4931, allocations: 104.6 kB / 0.7048 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002049/0.4934, allocations: 371.9 kB / 0.7051 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003355/0.4937, allocations: 142.2 kB / 0.7053 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004184/0.4941, allocations: 209.2 kB / 0.7055 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006078/0.4947, allocations: 290.2 kB / 0.7058 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.4948, allocations: 0 / 0.7058 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009253/0.4957, allocations: 460.5 kB / 0.7062 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.4957, allocations: 4 kB / 0.7062 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.4957, allocations: 0 / 0.7062 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.4958, allocations: 4 kB / 0.7062 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008825/0.4967, allocations: 155.9 kB / 0.7063 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007833/0.4975, allocations: 1.188 MB / 0.7075 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004936/0.498, allocations: 51.62 kB / 0.7076 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.965e-05/0.498, allocations: 19.98 kB / 0.7076 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004447/0.4985, allocations: 272.9 kB / 0.7078 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003161/0.4988, allocations: 202.4 kB / 0.708 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004744/0.4993, allocations: 277.4 kB / 0.7083 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.034e-06/0.4993, allocations: 3.938 kB / 0.7083 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0008254/0.5001, allocations: 444.6 kB / 0.7087 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.5001, allocations: 4 kB / 0.7087 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.5001, allocations: 4 kB / 0.7087 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.982e-06/0.5002, allocations: 4 kB / 0.7087 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004608/0.5006, allocations: 111.9 kB / 0.7088 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.5006, allocations: 0 / 0.7088 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000423/0.5011, allocations: 39.73 kB / 0.7089 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/0.5011, allocations: 24.05 kB / 0.7089 GB, free: 3.719 MB / 0.5294 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.0001369/0.5013, allocations: 204.1 kB / 0.7091 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.783e-05/0.5014, allocations: 59.25 kB / 0.7092 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00067/0.502, allocations: 327 kB / 0.7095 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.5021, allocations: 0 / 0.7095 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.5021, allocations: 0 / 0.7095 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.5021, allocations: 0 / 0.7095 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.5033, allocations: 0.9073 MB / 0.7103 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.5033, allocations: 8.031 kB / 0.7104 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003119/0.5037, allocations: 56.02 kB / 0.7104 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.5037, allocations: 0 / 0.7104 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.5037, allocations: 11.94 kB / 0.7104 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005671/0.5043, allocations: 1.184 MB / 0.7116 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.5043, allocations: 3.938 kB / 0.7116 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007938/0.5051, allocations: 0.5141 MB / 0.7121 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/0.5053, allocations: 168.4 kB / 0.7122 GB, free: 108 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.822e-05/0.5054, allocations: 4 kB / 0.7122 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002961/0.5057, allocations: 19.97 kB / 0.7123 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.335e-05/0.5058, allocations: 19.97 kB / 0.7123 GB, free: 64 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.5058, allocations: 8 kB / 0.7123 GB, free: 56 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006184/0.5064, allocations: 455.1 kB / 0.7127 GB, free: 15.61 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5064, allocations: 0 / 0.7127 GB, free: 15.61 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009333/0.5074, allocations: 299.5 kB / 0.713 GB, free: 15.32 MB / 0.545 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.0005935/0.508, allocations: 251.1 kB / 0.7133 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001457/0.5094, allocations: 0.5253 MB / 0.7138 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5094, allocations: 0 / 0.7138 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003226/0.5098, allocations: 132.3 kB / 0.7139 GB, free: 14.42 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.511, allocations: 271.7 kB / 0.7142 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.5129, allocations: 1.007 MB / 0.7151 GB, free: 13.11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005719/0.5135, allocations: 0.8864 MB / 0.716 GB, free: 12.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000425/0.5139, allocations: 128.8 kB / 0.7161 GB, free: 12.07 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.514, allocations: 43.44 kB / 0.7162 GB, free: 12.03 MB / 0.545 GB Notification: Performance of SimCode: time 7.82e-07/0.5141, allocations: 0 / 0.7162 GB, free: 12.03 MB / 0.545 GB Notification: Performance of Templates: time 0.01943/0.5335, allocations: 11.22 MB / 0.7271 GB, free: 0.9766 MB / 0.545 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)