Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.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.00141/0.00141, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001432/0.001432, allocations: 214.9 kB / 22.99 MB, free: 4.605 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.654/1.654, allocations: 230.6 MB / 256.8 MB, free: 7.805 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 1.025/1.025, allocations: 149.9 MB / 463 MB, free: 10.33 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.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo") [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.002838/0.002838, allocations: 71.28 kB / 0.6416 GB, free: 9.551 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2259, allocations: 89.17 MB / 0.7287 GB, free: 468 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002135/0.2281, allocations: 0.6805 MB / 0.7293 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.2294, allocations: 0.886 MB / 0.7302 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.128e-05/0.2294, allocations: 0 / 0.7302 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.136e-05/0.2295, allocations: 11.92 kB / 0.7302 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.331e-05/0.2295, allocations: 3.938 kB / 0.7302 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.2297, allocations: 15.98 kB / 0.7302 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.966e-05/0.2298, allocations: 43.86 kB / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.23, allocations: 7.984 kB / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.23e-05/0.23, allocations: 27.92 kB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.444e-05/0.2301, allocations: 19.91 kB / 0.7303 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.2301, allocations: 4 kB / 0.7303 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.381e-05/0.2301, allocations: 7.938 kB / 0.7303 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.2302, allocations: 4 kB / 0.7304 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.028e-05/0.2302, allocations: 19.86 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.2303, allocations: 39.81 kB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2303, allocations: 0 / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.003e-06/0.2303, allocations: 0 / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.2303, allocations: 0 / 0.7304 GB, free: 14.68 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006009/0.2309, allocations: 286.2 kB / 0.7307 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.231, allocations: 12.03 kB / 0.7307 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.182e-05/0.231, allocations: 8.922 kB / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.2311, allocations: 122.4 kB / 0.7308 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.2311, allocations: 384 / 0.7308 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.2312, allocations: 4.375 kB / 0.7308 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.2314, allocations: 66.22 kB / 0.7309 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.2314, allocations: 192 / 0.7309 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.2315, allocations: 3.938 kB / 0.7309 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2315, allocations: 8 kB / 0.7309 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002847/0.2317, allocations: 63.92 kB / 0.731 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003903/0.2321, allocations: 208.6 kB / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.2324, allocations: 54.53 kB / 0.7312 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.2325, allocations: 44.86 kB / 0.7313 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.2326, allocations: 3.984 kB / 0.7313 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.2326, allocations: 30.56 kB / 0.7313 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.2326, allocations: 0 / 0.7313 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005522/0.2331, allocations: 137.5 kB / 0.7314 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.2332, allocations: 51.41 kB / 0.7315 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.2333, allocations: 105.8 kB / 0.7316 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.2333, allocations: 25.7 kB / 0.7316 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/0.2334, allocations: 92.12 kB / 0.7317 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.2334, allocations: 11.89 kB / 0.7317 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.2334, allocations: 13.72 kB / 0.7317 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.2336, allocations: 314.8 kB / 0.732 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.2337, allocations: 35.95 kB / 0.732 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.2339, allocations: 31.97 kB / 0.7321 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/0.2341, allocations: 68.78 kB / 0.7321 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2341, allocations: 0 / 0.7321 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003253/0.2345, allocations: 113.5 kB / 0.7322 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.2345, allocations: 5.406 kB / 0.7322 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2345, allocations: 3.984 kB / 0.7322 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.2345, allocations: 4 kB / 0.7323 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.2346, allocations: 11.98 kB / 0.7323 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2346, allocations: 0 / 0.7323 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.95e-05/0.2347, allocations: 15.92 kB / 0.7323 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.2347, allocations: 0 / 0.7323 GB, free: 12.58 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 (3): * Single equations (assignments): 3 * 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 8.965e-05/0.2348, allocations: 113.8 kB / 0.7324 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.2348, allocations: 11.89 kB / 0.7324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.2349, allocations: 11.98 kB / 0.7324 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.2349, allocations: 0 / 0.7324 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2349, allocations: 336 / 0.7324 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.2349, allocations: 0 / 0.7324 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.235, allocations: 109.3 kB / 0.7325 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.235, allocations: 4 kB / 0.7325 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.642e-05/0.2351, allocations: 19.92 kB / 0.7325 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.2351, allocations: 3.984 kB / 0.7325 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.2351, allocations: 8 kB / 0.7326 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2351, allocations: 3.938 kB / 0.7326 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2351, allocations: 0 / 0.7326 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003742/0.2355, allocations: 191.5 kB / 0.7327 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.353e-05/0.2355, allocations: 11.83 kB / 0.7327 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.2355, allocations: 0 / 0.7327 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.2356, allocations: 15.98 kB / 0.7328 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.2357, allocations: 7.984 kB / 0.7328 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.2357, allocations: 4 kB / 0.7328 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.037e-05/0.2357, allocations: 87.27 kB / 0.7329 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2357, allocations: 0 / 0.7329 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002315/0.236, allocations: 11.94 kB / 0.7329 GB, free: 11.91 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 (3): * Single equations (assignments): 3 * 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.0001088/0.2361, allocations: 91.25 kB / 0.733 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003635/0.2364, allocations: 75.86 kB / 0.733 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2364, allocations: 0 / 0.733 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.2366, allocations: 35.95 kB / 0.7331 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.2369, allocations: 8 kB / 0.7331 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003421/0.2373, allocations: 125.4 kB / 0.7332 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.056e-05/0.2373, allocations: 63.34 kB / 0.7333 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.221e-05/0.2374, allocations: 7.984 kB / 0.7333 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.773e-05/0.2374, allocations: 15.44 kB / 0.7333 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.2374, allocations: 0 / 0.7333 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of Templates: time 0.003158/0.2406, allocations: 0.8019 MB / 0.7341 GB, free: 10.66 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.127219457179308] Failed to read output from testmodel.py, exit status != 0: 0.24927673488855362 0.263388754 0.030002855000000002 Calling exit ...