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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 111.3 kB / 17.6 MB, free: 4.785 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 185.9 kB / 20.78 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 225.6 MB / 249.4 MB, free: 3.32 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8579/0.8579, allocations: 134 MB / 438.5 MB, free: 13.75 MB / 350.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 71.88 kB / 0.6084 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/0.4385, allocations: 84.67 MB / 0.691 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.0285/0.467, allocations: 22.7 MB / 0.7132 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.009491/0.4765, allocations: 5.253 MB / 0.7183 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/0.4778, allocations: 23.88 kB / 0.7184 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.479, allocations: 333.8 kB / 0.7187 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002965/0.4819, allocations: 0.9017 MB / 0.7196 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.4841, allocations: 0.7251 MB / 0.7203 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002678/0.4868, allocations: 1.499 MB / 0.7217 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009204/0.4877, allocations: 422.9 kB / 0.7221 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/0.489, allocations: 0.6459 MB / 0.7228 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007015/0.4897, allocations: 0.49 MB / 0.7233 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.453e-05/0.4898, allocations: 55.94 kB / 0.7233 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001518/0.4913, allocations: 0.6472 MB / 0.7239 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002165/0.4915, allocations: 151.3 kB / 0.7241 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004216/0.492, allocations: 362.1 kB / 0.7244 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.4937, allocations: 1.078 MB / 0.7255 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.4937, allocations: 0 / 0.7255 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4937, allocations: 0 / 0.7255 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.7e-05/0.4937, allocations: 0 / 0.7255 GB, free: 2.914 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.002326/0.496, allocations: 1.081 MB / 0.7265 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.4961, allocations: 16.03 kB / 0.7266 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.4963, allocations: 84.42 kB / 0.7266 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.4973, allocations: 0.5782 MB / 0.7272 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.954e-05/0.4973, allocations: 28.66 kB / 0.7272 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.495e-05/0.4974, allocations: 40 kB / 0.7273 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006915/0.4981, allocations: 321.9 kB / 0.7276 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.4981, allocations: 0 / 0.7276 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.506e-05/0.4981, allocations: 12 kB / 0.7276 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.308e-05/0.4982, allocations: 12.66 kB / 0.7276 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005793/0.4988, allocations: 258.5 kB / 0.7278 GB, free: 408 kB / 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.002723/0.5015, allocations: 1.569 MB / 0.7294 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003882/0.5019, allocations: 172.6 kB / 0.7295 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.5021, allocations: 92.8 kB / 0.7296 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000443/0.5025, allocations: 417.5 kB / 0.73 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/0.5026, allocations: 38.91 kB / 0.7301 GB, free: 13.88 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 1.453e-06/0.5026, allocations: 3.938 kB / 0.7301 GB, free: 13.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.0008438/0.5034, allocations: 337 kB / 0.7304 GB, free: 13.54 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.5035, allocations: 55.41 kB / 0.7304 GB, free: 13.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008928/0.5043, allocations: 0.641 MB / 0.7311 GB, free: 12.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.5044, allocations: 33.7 kB / 0.7311 GB, free: 12.79 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00029/0.5047, allocations: 312.7 kB / 0.7314 GB, free: 12.48 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.094e-05/0.5047, allocations: 75.39 kB / 0.7315 GB, free: 12.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.5049, allocations: 98.06 kB / 0.7316 GB, free: 12.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002107/0.5051, allocations: 378.7 kB / 0.7319 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003188/0.5055, allocations: 138.5 kB / 0.7321 GB, free: 11.79 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/0.5058, allocations: 210.3 kB / 0.7323 GB, free: 11.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005507/0.5064, allocations: 286.9 kB / 0.7325 GB, free: 11.26 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.5064, allocations: 0 / 0.7325 GB, free: 11.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00087/0.5073, allocations: 456.9 kB / 0.733 GB, free: 10.81 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.5073, allocations: 8 kB / 0.733 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.5073, allocations: 0 / 0.733 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.5073, allocations: 4 kB / 0.733 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008892/0.5082, allocations: 143.8 kB / 0.7331 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009656/0.5092, allocations: 1.184 MB / 0.7343 GB, free: 9.426 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005011/0.5097, allocations: 55.64 kB / 0.7343 GB, free: 9.371 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.015e-05/0.5097, allocations: 20.19 kB / 0.7343 GB, free: 9.352 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005264/0.5102, allocations: 272.9 kB / 0.7346 GB, free: 9.082 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003751/0.5106, allocations: 202.3 kB / 0.7348 GB, free: 8.867 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005628/0.5112, allocations: 289.2 kB / 0.7351 GB, free: 8.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.773e-06/0.5112, allocations: 0 / 0.7351 GB, free: 8.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0008401/0.512, allocations: 444.9 kB / 0.7355 GB, free: 8.129 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.512, allocations: 4 kB / 0.7355 GB, free: 8.125 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.512, allocations: 4 kB / 0.7355 GB, free: 8.121 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.669e-06/0.512, allocations: 4.062 kB / 0.7355 GB, free: 8.117 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000483/0.5125, allocations: 107.9 kB / 0.7356 GB, free: 8.012 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.5125, allocations: 7.984 kB / 0.7356 GB, free: 8.004 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004094/0.5129, allocations: 35.83 kB / 0.7356 GB, free: 7.969 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/0.513, allocations: 23.92 kB / 0.7357 GB, free: 7.945 MB / 0.545 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.000195/0.5132, allocations: 200.1 kB / 0.7359 GB, free: 7.742 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.5133, allocations: 67.77 kB / 0.7359 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007602/0.5141, allocations: 322.7 kB / 0.7362 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.5141, allocations: 4 kB / 0.7362 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.5141, allocations: 4.062 kB / 0.7362 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.5141, allocations: 0 / 0.7362 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001414/0.5155, allocations: 0.9134 MB / 0.7371 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.5155, allocations: 4 kB / 0.7371 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002915/0.5158, allocations: 55.95 kB / 0.7372 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.5158, allocations: 0 / 0.7372 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.5158, allocations: 16.06 kB / 0.7372 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007324/0.5166, allocations: 1.176 MB / 0.7384 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.5166, allocations: 3.938 kB / 0.7384 GB, free: 5.062 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008325/0.5174, allocations: 0.5102 MB / 0.7389 GB, free: 4.523 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002191/0.5176, allocations: 176.6 kB / 0.739 GB, free: 4.332 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.935e-05/0.5177, allocations: 8.062 kB / 0.739 GB, free: 4.324 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002835/0.518, allocations: 19.97 kB / 0.7391 GB, free: 4.305 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.063e-05/0.518, allocations: 15.98 kB / 0.7391 GB, free: 4.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.5181, allocations: 4 kB / 0.7391 GB, free: 4.285 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006404/0.5187, allocations: 455 kB / 0.7395 GB, free: 3.844 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5187, allocations: 0 / 0.7395 GB, free: 3.844 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009162/0.5196, allocations: 303.4 kB / 0.7398 GB, free: 3.547 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.0006595/0.5203, allocations: 266.2 kB / 0.74 GB, free: 3.289 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001456/0.5217, allocations: 0.5042 MB / 0.7405 GB, free: 2.785 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.5217, allocations: 0 / 0.7405 GB, free: 2.785 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003412/0.5221, allocations: 123.8 kB / 0.7407 GB, free: 2.664 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.5233, allocations: 267.9 kB / 0.7409 GB, free: 2.414 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.5252, allocations: 1.035 MB / 0.7419 GB, free: 1.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005667/0.5257, allocations: 0.8864 MB / 0.7428 GB, free: 436 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000414/0.5262, allocations: 124.9 kB / 0.7429 GB, free: 312 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.5263, allocations: 43.44 kB / 0.743 GB, free: 268 kB / 0.545 GB Notification: Performance of SimCode: time 8.72e-07/0.5263, allocations: 4 kB / 0.743 GB, free: 264 kB / 0.545 GB Notification: Performance of Templates: time 0.02186/0.5481, allocations: 11.39 MB / 0.7541 GB, free: 5.055 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.1490712240338326]