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.001353/0.001353, 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.001555/0.001555, allocations: 218.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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.02/1.02, allocations: 149.9 MB / 463 MB, free: 10.35 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) [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.002157/0.002157, allocations: 72.11 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2106, allocations: 89.17 MB / 0.7282 GB, free: 1.039 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002236/0.2128, allocations: 0.7878 MB / 0.7289 GB, free: 260 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002194/0.215, allocations: 1.307 MB / 0.7302 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.711e-05/0.2151, allocations: 0 / 0.7302 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.278e-05/0.2151, allocations: 11.81 kB / 0.7302 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.2152, allocations: 19.8 kB / 0.7302 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009805/0.2162, allocations: 330.4 kB / 0.7306 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004009/0.2166, allocations: 287.5 kB / 0.7308 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.2168, allocations: 25.62 kB / 0.7309 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.2169, allocations: 123.7 kB / 0.731 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.2171, allocations: 95.67 kB / 0.7311 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.612e-05/0.2172, allocations: 28 kB / 0.7311 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.2173, allocations: 35.98 kB / 0.7311 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.889e-05/0.2174, allocations: 23.92 kB / 0.7311 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.2175, allocations: 99.67 kB / 0.7312 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003879/0.2179, allocations: 271.4 kB / 0.7315 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2179, allocations: 0 / 0.7315 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2179, allocations: 0 / 0.7315 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.2179, allocations: 0 / 0.7315 GB, free: 13.62 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.0008388/0.2187, allocations: 466.7 kB / 0.7319 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.2188, allocations: 8.031 kB / 0.732 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.388e-05/0.2189, allocations: 38.75 kB / 0.732 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.689e-05/0.2189, allocations: 28.83 kB / 0.732 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.2191, allocations: 127.7 kB / 0.7321 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.508e-05/0.2191, allocations: 15.94 kB / 0.7322 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.555e-05/0.2192, allocations: 20 kB / 0.7322 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.2194, allocations: 93.59 kB / 0.7323 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.2194, allocations: 0 / 0.7323 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.2194, allocations: 4 kB / 0.7323 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2194, allocations: 0 / 0.7323 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.2195, allocations: 47.97 kB / 0.7323 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007273/0.2203, allocations: 411.5 kB / 0.7327 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.2205, allocations: 66.5 kB / 0.7328 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.573e-05/0.2206, allocations: 36.95 kB / 0.7328 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.2206, allocations: 4 kB / 0.7328 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002363/0.2208, allocations: 111.4 kB / 0.7329 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.2208, allocations: 0 / 0.7329 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.000389/0.2212, allocations: 177.5 kB / 0.7331 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.2213, allocations: 55.41 kB / 0.7331 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.2214, allocations: 161.5 kB / 0.7333 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.664e-05/0.2215, allocations: 37.7 kB / 0.7333 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.2216, allocations: 112 kB / 0.7334 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.2216, allocations: 35.84 kB / 0.7335 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.2217, allocations: 77.61 kB / 0.7335 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.2219, allocations: 326.8 kB / 0.7339 GB, free: 11 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002845/0.2222, allocations: 181 kB / 0.734 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003408/0.2225, allocations: 235 kB / 0.7343 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003681/0.2229, allocations: 257 kB / 0.7345 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2229, allocations: 4 kB / 0.7345 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000779/0.2237, allocations: 0.4917 MB / 0.735 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.449e-05/0.2238, allocations: 99.75 kB / 0.7351 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.2238, allocations: 0 / 0.7351 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.2238, allocations: 4 kB / 0.7351 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.812e-05/0.2239, allocations: 11.94 kB / 0.7351 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/0.2239, allocations: 7.984 kB / 0.7351 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004755/0.2243, allocations: 87.98 kB / 0.7352 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.775e-05/0.2244, allocations: 23.92 kB / 0.7352 GB, free: 9.465 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.0001856/0.2246, allocations: 137.8 kB / 0.7353 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.2246, allocations: 15.84 kB / 0.7354 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.283e-05/0.2247, allocations: 16.77 kB / 0.7354 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.2247, allocations: 8 kB / 0.7354 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.2247, allocations: 0 / 0.7354 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2247, allocations: 0 / 0.7354 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.2249, allocations: 180.6 kB / 0.7355 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2249, allocations: 3.938 kB / 0.7356 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.507e-05/0.2249, allocations: 11.98 kB / 0.7356 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2249, allocations: 0 / 0.7356 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.225, allocations: 8 kB / 0.7356 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.225, allocations: 0 / 0.7356 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.225, allocations: 4 kB / 0.7356 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.2252, allocations: 163.8 kB / 0.7357 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.518e-05/0.2252, allocations: 23.78 kB / 0.7358 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.2252, allocations: 8 kB / 0.7358 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.21e-05/0.2253, allocations: 3.984 kB / 0.7358 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.2253, allocations: 11.98 kB / 0.7358 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.2253, allocations: 4 kB / 0.7358 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.267e-05/0.2254, allocations: 117.9 kB / 0.7359 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2254, allocations: 0 / 0.7359 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000265/0.2257, allocations: 48 kB / 0.7359 GB, free: 8.645 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.0006109/0.2263, allocations: 0.7177 MB / 0.7366 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005888/0.2269, allocations: 433 kB / 0.7371 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2269, allocations: 0 / 0.7371 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.227, allocations: 43.92 kB / 0.7371 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.2273, allocations: 27.97 kB / 0.7371 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003324/0.2306, allocations: 2.613 MB / 0.7397 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.729e-05/0.2307, allocations: 98.7 kB / 0.7398 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.609e-05/0.2307, allocations: 8.656 kB / 0.7398 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.435e-05/0.2308, allocations: 39.42 kB / 0.7398 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of SimCode: time 6.51e-07/0.2308, allocations: 0 / 0.7398 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0352/0.266, allocations: 5.093 MB / 0.7448 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.6, allocations: 3.656 kB / 0.7448 GB, free: 15.46 MB / 0.5762 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Switch_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Switch.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.5116481250152] Failed to read output from testmodel.py, exit status != 0: 11.712834927719086 11.742356817 11.519113773 Calling exit ...