Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.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.001311/0.001311, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001781/0.001781, allocations: 212.6 kB / 23.78 MB, free: 4.555 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.463/1.463, allocations: 230.6 MB / 257.5 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 0.9727/0.9727, allocations: 150 MB / 464 MB, free: 10.21 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.Logical.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="cs",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.002/0.002, allocations: 71.67 kB / 0.642 GB, free: 9.938 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1998, allocations: 89.17 MB / 0.729 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002789/0.2026, allocations: 0.6722 MB / 0.7297 GB, free: 176 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002012/0.2046, allocations: 1.28 MB / 0.7309 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.737e-05/0.2046, allocations: 0 / 0.7309 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.176e-05/0.2047, allocations: 3.938 kB / 0.731 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.2048, allocations: 23.86 kB / 0.731 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.2058, allocations: 306.3 kB / 0.7313 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000517/0.2063, allocations: 251.6 kB / 0.7315 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.2064, allocations: 20.16 kB / 0.7315 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000249/0.2067, allocations: 103.8 kB / 0.7316 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.2069, allocations: 91.75 kB / 0.7317 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.915e-05/0.207, allocations: 27.98 kB / 0.7317 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.2071, allocations: 35.98 kB / 0.7318 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.414e-05/0.2071, allocations: 11.98 kB / 0.7318 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.2073, allocations: 79.81 kB / 0.7319 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003432/0.2076, allocations: 227.6 kB / 0.7321 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.2076, allocations: 0 / 0.7321 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2076, allocations: 0 / 0.7321 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.2076, allocations: 3.938 kB / 0.7321 GB, free: 13.72 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007272/0.2084, allocations: 423.1 kB / 0.7325 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 0.000102/0.2085, allocations: 12.03 kB / 0.7325 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.896e-05/0.2085, allocations: 192 / 0.7325 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.849e-05/0.2085, allocations: 34.75 kB / 0.7325 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.812e-05/0.2086, allocations: 20.88 kB / 0.7326 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.2087, allocations: 110.5 kB / 0.7327 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.2088, allocations: 12.31 kB / 0.7327 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.314e-05/0.2088, allocations: 16.38 kB / 0.7327 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.209, allocations: 61.78 kB / 0.7327 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.209, allocations: 7.938 kB / 0.7327 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.209, allocations: 7.984 kB / 0.7328 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.209, allocations: 4 kB / 0.7328 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.903e-05/0.2091, allocations: 16 kB / 0.7328 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005947/0.2097, allocations: 343.7 kB / 0.7331 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.349e-05/0.2097, allocations: 30.56 kB / 0.7331 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.069e-05/0.2098, allocations: 24.88 kB / 0.7332 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.2098, allocations: 0 / 0.7332 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002577/0.2101, allocations: 95.31 kB / 0.7332 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 3.697e-06/0.2101, allocations: 3.984 kB / 0.7333 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0003431/0.2104, allocations: 145.5 kB / 0.7334 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.2104, allocations: 59.39 kB / 0.7334 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.2106, allocations: 132.6 kB / 0.7336 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/0.2106, allocations: 33.7 kB / 0.7336 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.746e-05/0.2107, allocations: 100.2 kB / 0.7337 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.2107, allocations: 23.84 kB / 0.7337 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.2109, allocations: 69.61 kB / 0.7338 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.211, allocations: 322.8 kB / 0.7341 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/0.2113, allocations: 185.4 kB / 0.7343 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.2116, allocations: 221.2 kB / 0.7345 GB, free: 11 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/0.2119, allocations: 243 kB / 0.7347 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2119, allocations: 0 / 0.7347 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007409/0.2126, allocations: 471.5 kB / 0.7352 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.585e-05/0.2127, allocations: 105.1 kB / 0.7353 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2127, allocations: 0 / 0.7353 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.2127, allocations: 8.188 kB / 0.7353 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.688e-05/0.2127, allocations: 4 kB / 0.7353 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.2128, allocations: 4.062 kB / 0.7353 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004766/0.2132, allocations: 83.8 kB / 0.7354 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.679e-05/0.2133, allocations: 23.92 kB / 0.7354 GB, free: 9.973 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: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * 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.0001364/0.2134, allocations: 137.8 kB / 0.7355 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/0.2134, allocations: 7.953 kB / 0.7355 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.714e-05/0.2135, allocations: 8.375 kB / 0.7355 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.2135, allocations: 7.938 kB / 0.7355 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2135, allocations: 0 / 0.7355 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2135, allocations: 0 / 0.7355 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.2136, allocations: 152.7 kB / 0.7357 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2136, allocations: 0 / 0.7357 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.368e-05/0.2137, allocations: 3.984 kB / 0.7357 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.2137, allocations: 4 kB / 0.7357 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.2137, allocations: 4 kB / 0.7357 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.2137, allocations: 3.938 kB / 0.7357 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2137, allocations: 0 / 0.7357 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.2139, allocations: 149 kB / 0.7358 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.553e-05/0.2139, allocations: 11.89 kB / 0.7359 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.2139, allocations: 0 / 0.7359 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.247e-05/0.2139, allocations: 0 / 0.7359 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.214, allocations: 11.98 kB / 0.7359 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.214, allocations: 4 kB / 0.7359 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.597e-05/0.2141, allocations: 103.2 kB / 0.736 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2141, allocations: 0 / 0.736 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00028/0.2143, allocations: 51.92 kB / 0.736 GB, free: 9.254 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0005714/0.2149, allocations: 0.6788 MB / 0.7367 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005436/0.2155, allocations: 419.1 kB / 0.7371 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2155, allocations: 0 / 0.7371 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.363e-05/0.2155, allocations: 27.98 kB / 0.7371 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.2158, allocations: 28.34 kB / 0.7371 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003048/0.2189, allocations: 2.444 MB / 0.7395 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.798e-05/0.2189, allocations: 75.89 kB / 0.7396 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.9e-05/0.219, allocations: 12.42 kB / 0.7396 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.492e-05/0.219, allocations: 27.44 kB / 0.7396 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of SimCode: time 4.2e-07/0.219, allocations: 0 / 0.7396 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02805/0.2471, allocations: 4.253 MB / 0.7438 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.76, allocations: 12.56 kB / 0.7438 GB, free: 1.188 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Switch_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Switch.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.582440573023632] Failed to read output from testmodel.py, exit status != 0: 11.931142748100683 11.948447183 11.73738811 Calling exit ...