Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.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.001482/0.001482, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.001937/0.001937, allocations: 220.6 kB / 23 MB, free: 4.973 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.9791/0.9791, allocations: 149.9 MB / 463 MB, free: 10.42 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.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch") [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.002069/0.002069, allocations: 67.34 kB / 0.6416 GB, free: 9.656 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.218, allocations: 89.18 MB / 0.7286 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002298/0.2203, allocations: 0.778 MB / 0.7294 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001954/0.2222, allocations: 1.303 MB / 0.7307 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.443e-05/0.2223, allocations: 4 kB / 0.7307 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.106e-05/0.2224, allocations: 7.875 kB / 0.7307 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.2225, allocations: 27.78 kB / 0.7307 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008805/0.2233, allocations: 320.1 kB / 0.731 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003785/0.2237, allocations: 287.5 kB / 0.7313 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.2239, allocations: 37.61 kB / 0.7313 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.224, allocations: 119.7 kB / 0.7314 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.2242, allocations: 99.61 kB / 0.7315 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.194e-05/0.2243, allocations: 28 kB / 0.7316 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.779e-05/0.2244, allocations: 39.92 kB / 0.7316 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.604e-05/0.2244, allocations: 27.92 kB / 0.7316 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.2245, allocations: 95.73 kB / 0.7317 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.2249, allocations: 255.2 kB / 0.732 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2249, allocations: 0 / 0.732 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2249, allocations: 4 kB / 0.732 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.2249, allocations: 0 / 0.732 GB, free: 13.14 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000717/0.2256, allocations: 466.7 kB / 0.7324 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.2256, allocations: 8.031 kB / 0.7324 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.831e-05/0.2257, allocations: 24.84 kB / 0.7324 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.2259, allocations: 130.9 kB / 0.7326 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.883e-05/0.2259, allocations: 20.11 kB / 0.7326 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.297e-05/0.226, allocations: 20 kB / 0.7326 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.2261, allocations: 89.61 kB / 0.7327 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.2262, allocations: 0 / 0.7327 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.2262, allocations: 4 kB / 0.7327 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.2262, allocations: 0 / 0.7327 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.2263, allocations: 51.91 kB / 0.7327 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006755/0.227, allocations: 376.2 kB / 0.7331 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/0.2272, allocations: 70.48 kB / 0.7332 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.253e-05/0.2273, allocations: 36.95 kB / 0.7332 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.2273, allocations: 0 / 0.7332 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.2276, allocations: 107.5 kB / 0.7333 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/0.2276, allocations: 3.938 kB / 0.7333 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0003801/0.2279, allocations: 175 kB / 0.7335 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.228, allocations: 59.39 kB / 0.7335 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.2282, allocations: 155.4 kB / 0.7337 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.536e-05/0.2282, allocations: 33.7 kB / 0.7337 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.2283, allocations: 112.4 kB / 0.7338 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.2283, allocations: 39.84 kB / 0.7339 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.2285, allocations: 69.67 kB / 0.7339 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.2287, allocations: 326.8 kB / 0.7342 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.2289, allocations: 185 kB / 0.7344 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003149/0.2292, allocations: 239 kB / 0.7346 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003259/0.2296, allocations: 248.9 kB / 0.7349 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2296, allocations: 4 kB / 0.7349 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007259/0.2303, allocations: 499.4 kB / 0.7354 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.775e-05/0.2304, allocations: 97.09 kB / 0.7355 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.2304, allocations: 7.938 kB / 0.7355 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.2304, allocations: 3.938 kB / 0.7355 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.155e-05/0.2305, allocations: 11.98 kB / 0.7355 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.2305, allocations: 4 kB / 0.7355 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004417/0.2309, allocations: 87.98 kB / 0.7356 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.545e-05/0.231, allocations: 23.98 kB / 0.7356 GB, free: 9.094 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 3 * 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.0001445/0.2311, allocations: 133.8 kB / 0.7357 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.2311, allocations: 19.83 kB / 0.7357 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.715e-05/0.2312, allocations: 12.78 kB / 0.7357 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2312, allocations: 4 kB / 0.7358 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2312, allocations: 4 kB / 0.7358 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2312, allocations: 0 / 0.7358 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.2313, allocations: 145.3 kB / 0.7359 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2313, allocations: 7.938 kB / 0.7359 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.14e-05/0.2314, allocations: 8 kB / 0.7359 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.2314, allocations: 7.938 kB / 0.7359 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.2314, allocations: 7.984 kB / 0.7359 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2314, allocations: 0 / 0.7359 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.2314, allocations: 7.938 kB / 0.7359 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.2316, allocations: 163.8 kB / 0.7361 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.032e-05/0.2317, allocations: 19.81 kB / 0.7361 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.2317, allocations: 4 kB / 0.7361 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.19e-05/0.2317, allocations: 4 kB / 0.7361 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.2318, allocations: 15.97 kB / 0.7361 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.2318, allocations: 4 kB / 0.7361 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.6e-05/0.2318, allocations: 105 kB / 0.7362 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2318, allocations: 0 / 0.7362 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002747/0.2321, allocations: 55.94 kB / 0.7363 GB, free: 8.32 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: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001454/0.2323, allocations: 111.1 kB / 0.7364 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005722/0.2328, allocations: 435.2 kB / 0.7368 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2328, allocations: 0 / 0.7368 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.1e-05/0.2329, allocations: 43.91 kB / 0.7369 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.2332, allocations: 34.28 kB / 0.7369 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004752/0.2337, allocations: 247.8 kB / 0.7371 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.806e-05/0.2337, allocations: 98.28 kB / 0.7372 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.207e-05/0.2338, allocations: 12.97 kB / 0.7372 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.194e-05/0.2338, allocations: 15.44 kB / 0.7372 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.2338, allocations: 0 / 0.7372 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of Templates: time 0.006659/0.2405, allocations: 3.103 MB / 0.7403 GB, free: 4.203 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.037884259596467] Failed to read output from testmodel.py, exit status != 0: 0.24911129288375378 0.264915697 0.036795114000000004 Calling exit ...