Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002886/0.002886, allocations: 217.7 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.57/1.57, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9898/0.9898, allocations: 149.9 MB / 463 MB, free: 10.38 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 67.55 kB / 0.6416 GB, free: 9.621 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2468, allocations: 89.17 MB / 0.7286 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002081/0.2489, allocations: 0.531 MB / 0.7292 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 4.721e-05/0.249, allocations: 4 kB / 0.7292 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.73e-05/0.249, allocations: 0 / 0.7292 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.39e-05/0.249, allocations: 0 / 0.7292 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.903e-05/0.2491, allocations: 0 / 0.7292 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.425e-05/0.2491, allocations: 0 / 0.7292 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.241e-05/0.2492, allocations: 7.938 kB / 0.7292 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.684e-05/0.2493, allocations: 4 kB / 0.7292 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.969e-05/0.2493, allocations: 3.828 kB / 0.7292 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.195e-05/0.2493, allocations: 4 kB / 0.7292 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.2493, allocations: 0 / 0.7292 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.432e-06/0.2493, allocations: 4 kB / 0.7292 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/0.2493, allocations: 3.984 kB / 0.7292 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.625e-05/0.2494, allocations: 0 / 0.7292 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 6.66e-05/0.2494, allocations: 0 / 0.7292 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.2494, allocations: 4 kB / 0.7292 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.468e-06/0.2494, allocations: 3.984 kB / 0.7292 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.2494, allocations: 0 / 0.7292 GB, free: 15.95 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003881/0.2498, allocations: 234.4 kB / 0.7294 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.2499, allocations: 15.97 kB / 0.7294 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/0.2499, allocations: 4.938 kB / 0.7294 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.25, allocations: 102.5 kB / 0.7295 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.2501, allocations: 384 / 0.7295 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.2501, allocations: 4.375 kB / 0.7295 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.2502, allocations: 38.19 kB / 0.7296 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.2502, allocations: 4.172 kB / 0.7296 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.2502, allocations: 3.938 kB / 0.7296 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.2502, allocations: 0 / 0.7296 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.332e-05/0.2502, allocations: 7.938 kB / 0.7296 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003997/0.2506, allocations: 327.2 kB / 0.7299 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.2507, allocations: 173.1 kB / 0.7301 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.748e-05/0.2508, allocations: 80.14 kB / 0.7301 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.176e-05/0.2508, allocations: 79.22 kB / 0.7302 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.319e-05/0.2509, allocations: 117.8 kB / 0.7303 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.2509, allocations: 0 / 0.7303 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.465e-05/0.251, allocations: 25.7 kB / 0.7304 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.576e-05/0.2511, allocations: 126.7 kB / 0.7305 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.2512, allocations: 97.86 kB / 0.7306 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.2512, allocations: 25.7 kB / 0.7306 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/0.2513, allocations: 80.14 kB / 0.7307 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-06/0.2513, allocations: 4.125 kB / 0.7307 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/0.2513, allocations: 13.72 kB / 0.7307 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.2515, allocations: 310.8 kB / 0.731 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.561e-06/0.2515, allocations: 0 / 0.731 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-06/0.2515, allocations: 7.984 kB / 0.731 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.054e-05/0.2515, allocations: 79.22 kB / 0.7311 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-05/0.2516, allocations: 75.28 kB / 0.7311 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.529e-05/0.2516, allocations: 33.64 kB / 0.7312 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.961e-05/0.2517, allocations: 81.31 kB / 0.7313 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.83e-05/0.2517, allocations: 79.28 kB / 0.7313 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-05/0.2518, allocations: 158.5 kB / 0.7315 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.184e-05/0.2519, allocations: 79.28 kB / 0.7316 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.35e-05/0.2519, allocations: 158.5 kB / 0.7317 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.744e-05/0.252, allocations: 79.27 kB / 0.7318 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.355e-05/0.2521, allocations: 75.28 kB / 0.7319 GB, free: 13.04 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001594/0.2522, allocations: 264.3 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.2523, allocations: 112.9 kB / 0.7322 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.16e-05/0.2524, allocations: 104 kB / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000108/0.2525, allocations: 188.2 kB / 0.7325 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001026/0.2526, allocations: 180.2 kB / 0.7327 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.556e-05/0.2527, allocations: 176.3 kB / 0.7328 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.2529, allocations: 360.8 kB / 0.7332 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.857e-05/0.253, allocations: 101.3 kB / 0.7333 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.994e-05/0.2531, allocations: 112.9 kB / 0.7334 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.75e-05/0.2532, allocations: 184.2 kB / 0.7336 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.579e-05/0.2533, allocations: 176.3 kB / 0.7337 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.86e-05/0.2533, allocations: 188.1 kB / 0.7339 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.112e-05/0.2534, allocations: 180.3 kB / 0.7341 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.2536, allocations: 303.8 kB / 0.7344 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.257e-05/0.2537, allocations: 112.9 kB / 0.7345 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.893e-05/0.2538, allocations: 180.3 kB / 0.7346 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.067e-05/0.2539, allocations: 109 kB / 0.7347 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.529e-05/0.2539, allocations: 188.2 kB / 0.7349 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.693e-05/0.254, allocations: 101 kB / 0.735 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.98e-05/0.254, allocations: 75.28 kB / 0.7351 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.254, allocations: 0 / 0.7351 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000273/0.2543, allocations: 0 / 0.7351 GB, free: 9.527 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001663/0.2545, allocations: 170.5 kB / 0.7353 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 5.405e-05/0.2545, allocations: 3.938 kB / 0.7353 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2545, allocations: 96 / 0.7353 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.2545, allocations: 4 kB / 0.7353 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.255, allocations: 463.7 kB / 0.7357 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002638/0.2553, allocations: 160.1 kB / 0.7359 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.455e-05/0.2553, allocations: 51.36 kB / 0.7359 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.883e-06/0.2553, allocations: 0 / 0.7359 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.384e-05/0.2553, allocations: 7.438 kB / 0.7359 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of SimCode: time 8.32e-07/0.2553, allocations: 4 kB / 0.7359 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of Templates: time 0.002241/0.2576, allocations: 141.1 kB / 0.7361 GB, free: 8.484 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.062181765213609] Failed to read output from testmodel.py, exit status != 0: 0.2659469936043024 0.280140804 0.027698402 Calling exit ...