Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00112/0.00112, allocations: 108 kB / 15.61 MB, free: 152 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.001205/0.001205, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.252/1.252, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7142/0.7142, allocations: 132.2 MB / 422.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 60.44 kB / 0.5018 GB, free: 3.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3871, allocations: 80.21 MB / 0.5801 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.0223/0.4094, allocations: 22.31 MB / 0.6019 GB, free: 4.543 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00769/0.4171, allocations: 5.235 MB / 0.607 GB, free: 300 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008846/0.418, allocations: 24.69 kB / 0.607 GB, free: 288 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008595/0.4189, allocations: 315 kB / 0.6073 GB, free: 16 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002235/0.4212, allocations: 0.8692 MB / 0.6082 GB, free: 15.32 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.423, allocations: 0.7129 MB / 0.6089 GB, free: 14.78 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001913/0.4249, allocations: 1.479 MB / 0.6103 GB, free: 13.93 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007242/0.4257, allocations: 0.5183 MB / 0.6108 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.4268, allocations: 0.6258 MB / 0.6114 GB, free: 13.21 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005881/0.4274, allocations: 479.9 kB / 0.6119 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.331e-05/0.4275, allocations: 53.12 kB / 0.6119 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.4287, allocations: 0.643 MB / 0.6126 GB, free: 12.58 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.4289, allocations: 151.9 kB / 0.6127 GB, free: 12.46 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003912/0.4293, allocations: 366.4 kB / 0.6131 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.4306, allocations: 1.051 MB / 0.6141 GB, free: 11.5 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.4306, allocations: 0 / 0.6141 GB, free: 11.5 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4306, allocations: 0 / 0.6141 GB, free: 11.5 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.4306, allocations: 0 / 0.6141 GB, free: 11.5 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.001781/0.4324, allocations: 1.053 MB / 0.6151 GB, free: 10.64 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.4325, allocations: 10.22 kB / 0.6151 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.4326, allocations: 82.61 kB / 0.6152 GB, free: 10.6 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008158/0.4334, allocations: 0.5522 MB / 0.6157 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.271e-05/0.4335, allocations: 28.19 kB / 0.6158 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-05/0.4336, allocations: 43.41 kB / 0.6158 GB, free: 10.1 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005925/0.4342, allocations: 307.8 kB / 0.6161 GB, free: 9.922 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.4342, allocations: 0 / 0.6161 GB, free: 9.922 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.989e-05/0.4342, allocations: 10.88 kB / 0.6161 GB, free: 9.914 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.211e-05/0.4343, allocations: 11.31 kB / 0.6161 GB, free: 9.91 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005984/0.4349, allocations: 255.8 kB / 0.6164 GB, free: 9.793 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.002465/0.4373, allocations: 1.59 MB / 0.6179 GB, free: 8.441 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003636/0.4377, allocations: 184.7 kB / 0.6181 GB, free: 8.344 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.4379, allocations: 95.31 kB / 0.6182 GB, free: 8.293 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000412/0.4383, allocations: 420 kB / 0.6186 GB, free: 7.809 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.4384, allocations: 35.92 kB / 0.6186 GB, free: 7.766 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 1.242e-06/0.4384, allocations: 5.062 kB / 0.6186 GB, free: 7.762 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007521/0.4391, allocations: 323.3 kB / 0.6189 GB, free: 7.594 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.4392, allocations: 57.69 kB / 0.619 GB, free: 7.527 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000754/0.4399, allocations: 0.6471 MB / 0.6196 GB, free: 7.141 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.44, allocations: 36.27 kB / 0.6197 GB, free: 7.102 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.4402, allocations: 302.9 kB / 0.6199 GB, free: 6.832 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.791e-05/0.4403, allocations: 68.03 kB / 0.62 GB, free: 6.773 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.4404, allocations: 105.4 kB / 0.6201 GB, free: 6.703 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.4406, allocations: 371.6 kB / 0.6205 GB, free: 6.344 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003232/0.4409, allocations: 138.4 kB / 0.6206 GB, free: 6.273 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003844/0.4413, allocations: 221.2 kB / 0.6208 GB, free: 6.121 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005724/0.4419, allocations: 285.4 kB / 0.6211 GB, free: 5.957 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4419, allocations: 1.375 kB / 0.6211 GB, free: 5.957 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009096/0.4428, allocations: 456.7 kB / 0.6215 GB, free: 5.723 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.4429, allocations: 5.344 kB / 0.6215 GB, free: 5.723 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.4429, allocations: 1.031 kB / 0.6215 GB, free: 5.723 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.4429, allocations: 3.594 kB / 0.6215 GB, free: 5.723 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008591/0.4438, allocations: 135.3 kB / 0.6217 GB, free: 5.691 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008146/0.4446, allocations: 1.196 MB / 0.6228 GB, free: 4.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004714/0.4451, allocations: 47.08 kB / 0.6229 GB, free: 4.449 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/0.4451, allocations: 20.36 kB / 0.6229 GB, free: 4.441 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004675/0.4456, allocations: 279 kB / 0.6232 GB, free: 4.254 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003278/0.446, allocations: 199.4 kB / 0.6233 GB, free: 4.125 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004942/0.4465, allocations: 286.2 kB / 0.6236 GB, free: 3.957 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.713e-06/0.4465, allocations: 3.938 kB / 0.6236 GB, free: 3.953 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0007523/0.4472, allocations: 436 kB / 0.624 GB, free: 3.734 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.4473, allocations: 5.812 kB / 0.624 GB, free: 3.734 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-06/0.4473, allocations: 1.094 kB / 0.624 GB, free: 3.734 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.25e-06/0.4473, allocations: 3.594 kB / 0.624 GB, free: 3.734 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004532/0.4477, allocations: 119.7 kB / 0.6242 GB, free: 3.699 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.4477, allocations: 3.938 kB / 0.6242 GB, free: 3.699 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004025/0.4482, allocations: 37.31 kB / 0.6242 GB, free: 3.676 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/0.4482, allocations: 15.84 kB / 0.6242 GB, free: 3.672 MB / 462.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.0001707/0.4484, allocations: 198 kB / 0.6244 GB, free: 3.477 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.4485, allocations: 63.94 kB / 0.6245 GB, free: 3.441 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007648/0.4493, allocations: 326.6 kB / 0.6248 GB, free: 3.137 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.4493, allocations: 3.984 kB / 0.6248 GB, free: 3.133 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.4493, allocations: 7.938 kB / 0.6248 GB, free: 3.125 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.4493, allocations: 4 kB / 0.6248 GB, free: 3.121 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.4505, allocations: 0.9094 MB / 0.6257 GB, free: 2.145 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4505, allocations: 4 kB / 0.6257 GB, free: 2.141 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.4508, allocations: 55.89 kB / 0.6257 GB, free: 2.086 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.4508, allocations: 4.125 kB / 0.6257 GB, free: 2.082 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.4508, allocations: 11.94 kB / 0.6258 GB, free: 2.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005347/0.4514, allocations: 1.184 MB / 0.6269 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4514, allocations: 0 / 0.6269 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000722/0.4521, allocations: 0.5137 MB / 0.6274 GB, free: 304 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/0.4523, allocations: 164.2 kB / 0.6276 GB, free: 120 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.765e-05/0.4524, allocations: 12.06 kB / 0.6276 GB, free: 108 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002773/0.4527, allocations: 15.98 kB / 0.6276 GB, free: 92 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/0.4527, allocations: 15.92 kB / 0.6276 GB, free: 76 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.4528, allocations: 15.98 kB / 0.6276 GB, free: 60 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006302/0.4534, allocations: 447 kB / 0.6281 GB, free: 15.62 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4534, allocations: 0 / 0.6281 GB, free: 15.62 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008504/0.4543, allocations: 303.5 kB / 0.6283 GB, free: 15.33 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.0005638/0.4548, allocations: 248 kB / 0.6286 GB, free: 15.09 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001366/0.4562, allocations: 0.5388 MB / 0.6291 GB, free: 14.55 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.4562, allocations: 0 / 0.6291 GB, free: 14.55 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003179/0.4566, allocations: 137.5 kB / 0.6292 GB, free: 14.42 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.4578, allocations: 276.1 kB / 0.6295 GB, free: 14.16 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.4595, allocations: 1.008 MB / 0.6305 GB, free: 13.11 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/0.4599, allocations: 0.8864 MB / 0.6313 GB, free: 12.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004353/0.4604, allocations: 124.2 kB / 0.6315 GB, free: 12.08 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.4605, allocations: 47.42 kB / 0.6315 GB, free: 12.03 MB / 478.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4605, allocations: 0 / 0.6315 GB, free: 12.03 MB / 478.1 MB Notification: Performance of Templates: time 0.01889/0.4794, allocations: 11.15 MB / 0.6424 GB, free: 1.078 MB / 478.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe 2>&1)