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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 104.1 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 192.4 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 225.6 MB / 249.9 MB, free: 3.215 MB / 190.1 MB [Timeout remaining time 89] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7707/0.7707, allocations: 137.4 MB / 442.4 MB, free: 13.85 MB / 350.1 MB [Timeout remaining time 89] 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=500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 67.89 kB / 0.6137 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3126, allocations: 85.54 MB / 0.6973 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.02331/0.3359, allocations: 22.49 MB / 0.7192 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007285/0.3432, allocations: 5.238 MB / 0.7244 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000538/0.3438, allocations: 23.81 kB / 0.7244 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007703/0.3445, allocations: 325.8 kB / 0.7247 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001966/0.3465, allocations: 0.9094 MB / 0.7256 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.3481, allocations: 0.7181 MB / 0.7263 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001669/0.3497, allocations: 1.503 MB / 0.7277 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005683/0.3503, allocations: 435 kB / 0.7282 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009355/0.3513, allocations: 0.6497 MB / 0.7288 GB, free: 468 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006158/0.3519, allocations: 497.8 kB / 0.7293 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.631e-05/0.352, allocations: 52 kB / 0.7293 GB, free: 15.92 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.353, allocations: 0.655 MB / 0.73 GB, free: 15.26 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.3532, allocations: 159.2 kB / 0.7301 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003328/0.3535, allocations: 358.1 kB / 0.7305 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.3548, allocations: 1.081 MB / 0.7315 GB, free: 13.67 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.3548, allocations: 0 / 0.7315 GB, free: 13.67 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3548, allocations: 0 / 0.7315 GB, free: 13.67 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.3548, allocations: 0 / 0.7315 GB, free: 13.67 MB / 0.545 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.001729/0.3566, allocations: 1.085 MB / 0.7326 GB, free: 12.54 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.3566, allocations: 9.703 kB / 0.7326 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.3567, allocations: 84.42 kB / 0.7327 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008634/0.3576, allocations: 0.5782 MB / 0.7332 GB, free: 11.83 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.3576, allocations: 32.64 kB / 0.7333 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.378e-05/0.3577, allocations: 44 kB / 0.7333 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005685/0.3583, allocations: 310 kB / 0.7336 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3583, allocations: 0 / 0.7336 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.3583, allocations: 12 kB / 0.7336 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/0.3583, allocations: 16.64 kB / 0.7336 GB, free: 11.42 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005302/0.3589, allocations: 262.3 kB / 0.7339 GB, free: 11.16 MB / 0.545 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.002387/0.3612, allocations: 1.565 MB / 0.7354 GB, free: 9.469 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003686/0.3616, allocations: 182.4 kB / 0.7356 GB, free: 9.281 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/0.3618, allocations: 88.8 kB / 0.7357 GB, free: 9.191 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003646/0.3622, allocations: 417.5 kB / 0.7361 GB, free: 8.691 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.3622, allocations: 34.56 kB / 0.7361 GB, free: 8.648 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 1.173e-06/0.3622, allocations: 0 / 0.7361 GB, free: 8.648 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.0007293/0.3629, allocations: 333.4 kB / 0.7364 GB, free: 8.316 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.363, allocations: 55.41 kB / 0.7365 GB, free: 8.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007654/0.3637, allocations: 0.6487 MB / 0.7371 GB, free: 7.594 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.233e-05/0.3638, allocations: 37.7 kB / 0.7371 GB, free: 7.551 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/0.364, allocations: 308.7 kB / 0.7374 GB, free: 7.246 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.567e-05/0.3641, allocations: 71.39 kB / 0.7375 GB, free: 7.176 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.3642, allocations: 98.06 kB / 0.7376 GB, free: 7.074 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.3644, allocations: 382.7 kB / 0.7379 GB, free: 6.691 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/0.3647, allocations: 138.5 kB / 0.7381 GB, free: 6.551 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003471/0.3651, allocations: 198.3 kB / 0.7383 GB, free: 6.336 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005218/0.3656, allocations: 293.1 kB / 0.7386 GB, free: 6.035 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.3656, allocations: 4 kB / 0.7386 GB, free: 6.031 MB / 0.545 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008042/0.3664, allocations: 452.9 kB / 0.739 GB, free: 5.582 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.3664, allocations: 8.062 kB / 0.739 GB, free: 5.574 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3664, allocations: 0 / 0.739 GB, free: 5.574 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.3664, allocations: 4 kB / 0.739 GB, free: 5.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007849/0.3672, allocations: 143.8 kB / 0.7391 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007553/0.368, allocations: 1.192 MB / 0.7403 GB, free: 4.191 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004096/0.3684, allocations: 55.64 kB / 0.7404 GB, free: 4.137 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.832e-05/0.3684, allocations: 16 kB / 0.7404 GB, free: 4.121 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004198/0.3688, allocations: 276.9 kB / 0.7406 GB, free: 3.848 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003307/0.3692, allocations: 206.3 kB / 0.7408 GB, free: 3.625 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004961/0.3697, allocations: 281.4 kB / 0.7411 GB, free: 3.336 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.443e-06/0.3697, allocations: 4 kB / 0.7411 GB, free: 3.332 MB / 0.545 GB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0007724/0.3704, allocations: 441 kB / 0.7415 GB, free: 2.895 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.797e-06/0.3705, allocations: 4 kB / 0.7415 GB, free: 2.891 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3705, allocations: 7.938 kB / 0.7415 GB, free: 2.883 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-06/0.3705, allocations: 0 / 0.7415 GB, free: 2.883 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004622/0.3709, allocations: 111.8 kB / 0.7416 GB, free: 2.773 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.307e-06/0.3709, allocations: 4.125 kB / 0.7416 GB, free: 2.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003656/0.3713, allocations: 51.88 kB / 0.7417 GB, free: 2.719 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.3713, allocations: 15.98 kB / 0.7417 GB, free: 2.703 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.0001448/0.3715, allocations: 200.1 kB / 0.7419 GB, free: 2.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.3716, allocations: 63.77 kB / 0.742 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006627/0.3722, allocations: 316.7 kB / 0.7423 GB, free: 2.113 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.3722, allocations: 7.984 kB / 0.7423 GB, free: 2.105 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.3722, allocations: 0 / 0.7423 GB, free: 2.105 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3722, allocations: 0 / 0.7423 GB, free: 2.105 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.3735, allocations: 0.9069 MB / 0.7432 GB, free: 1.133 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.3735, allocations: 4 kB / 0.7432 GB, free: 1.129 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/0.3738, allocations: 59.89 kB / 0.7432 GB, free: 1.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3738, allocations: 0 / 0.7432 GB, free: 1.07 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.3738, allocations: 15.92 kB / 0.7432 GB, free: 1.055 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006517/0.3745, allocations: 1.184 MB / 0.7444 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.3745, allocations: 3.938 kB / 0.7444 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007802/0.3753, allocations: 0.5126 MB / 0.7449 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000198/0.3754, allocations: 180.5 kB / 0.7451 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.016e-05/0.3755, allocations: 8 kB / 0.7451 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002846/0.3758, allocations: 15.98 kB / 0.7451 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.785e-05/0.3759, allocations: 23.94 kB / 0.7451 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.3759, allocations: 12 kB / 0.7451 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000563/0.3764, allocations: 455 kB / 0.7456 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.3764, allocations: 0 / 0.7456 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007687/0.3772, allocations: 299.4 kB / 0.7458 GB, free: 14.3 MB / 0.5606 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.0004871/0.3777, allocations: 265.4 kB / 0.7461 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0013/0.379, allocations: 496.5 kB / 0.7466 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.379, allocations: 0 / 0.7466 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000313/0.3793, allocations: 130.3 kB / 0.7467 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.3804, allocations: 266.4 kB / 0.7469 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.3821, allocations: 1.082 MB / 0.748 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000497/0.3826, allocations: 0.8864 MB / 0.7489 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.3827, allocations: 51.42 kB / 0.7489 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of SimCode: time 3.8e-07/0.3827, allocations: 0 / 0.7489 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of Templates: time 0.01805/0.4007, allocations: 14.98 MB / 0.7635 GB, free: 12.18 MB / 0.5762 GB [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.makefile [Timeout 660] (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) [Timeout 480]