Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.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.00131/0.00131, allocations: 97.11 kB / 19.74 MB, free: 1.871 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.002174/0.002174, allocations: 201.5 kB / 23.03 MB, free: 5.008 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.738 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.9562/0.9562, allocations: 150 MB / 463.2 MB, free: 10.2 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.Reals.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_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.002016/0.002016, allocations: 68.83 kB / 0.6413 GB, free: 9.812 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2056, allocations: 89.17 MB / 0.7284 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002141/0.2077, allocations: 0.7607 MB / 0.7291 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001687/0.2094, allocations: 1.163 MB / 0.7303 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.049e-05/0.2095, allocations: 4 kB / 0.7303 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.542e-05/0.2095, allocations: 3.938 kB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.57e-05/0.2096, allocations: 15.88 kB / 0.7303 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005139/0.2101, allocations: 139.6 kB / 0.7304 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.2103, allocations: 131.7 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.671e-05/0.2104, allocations: 8 kB / 0.7306 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.2105, allocations: 51.91 kB / 0.7306 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.2106, allocations: 47.8 kB / 0.7307 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.24e-05/0.2107, allocations: 12 kB / 0.7307 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.104e-05/0.2107, allocations: 27.98 kB / 0.7307 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.599e-05/0.2108, allocations: 11.94 kB / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.643e-05/0.2108, allocations: 43.89 kB / 0.7308 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.2111, allocations: 119.8 kB / 0.7309 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2111, allocations: 0 / 0.7309 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.224e-06/0.2111, allocations: 0 / 0.7309 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2111, allocations: 0 / 0.7309 GB, free: 14.18 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.0008069/0.2119, allocations: 355.7 kB / 0.7312 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.2119, allocations: 12.03 kB / 0.7312 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.735e-05/0.212, allocations: 38.73 kB / 0.7313 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.33e-05/0.212, allocations: 8.938 kB / 0.7313 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.2122, allocations: 114.5 kB / 0.7314 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.2122, allocations: 384 / 0.7314 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/0.2122, allocations: 12.31 kB / 0.7314 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.2126, allocations: 74.2 kB / 0.7315 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.2126, allocations: 3.938 kB / 0.7315 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.2126, allocations: 4 kB / 0.7315 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.2126, allocations: 4 kB / 0.7315 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000316/0.2129, allocations: 79.78 kB / 0.7315 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005853/0.2135, allocations: 287.8 kB / 0.7318 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.2137, allocations: 46.64 kB / 0.7319 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.2139, allocations: 44.81 kB / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.2139, allocations: 7.938 kB / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003614/0.2142, allocations: 95.34 kB / 0.732 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.2143, allocations: 0 / 0.732 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0006404/0.2149, allocations: 161.7 kB / 0.7322 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/0.215, allocations: 55.41 kB / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.2151, allocations: 125.7 kB / 0.7323 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.2151, allocations: 33.64 kB / 0.7324 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.613e-05/0.2152, allocations: 92.09 kB / 0.7325 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.2153, allocations: 19.89 kB / 0.7325 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.19e-05/0.2153, allocations: 29.7 kB / 0.7325 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.2155, allocations: 326.8 kB / 0.7328 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/0.2158, allocations: 89.72 kB / 0.7329 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/0.216, allocations: 112.2 kB / 0.733 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/0.2164, allocations: 148.1 kB / 0.7331 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.2164, allocations: 0 / 0.7331 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005939/0.217, allocations: 252.9 kB / 0.7334 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.505e-05/0.2171, allocations: 33.7 kB / 0.7334 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.2171, allocations: 3.984 kB / 0.7334 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.2171, allocations: 0 / 0.7334 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.2172, allocations: 15.98 kB / 0.7334 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.2173, allocations: 0 / 0.7334 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.2175, allocations: 47.95 kB / 0.7335 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/0.2175, allocations: 7.984 kB / 0.7335 GB, free: 11.23 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0001178/0.2176, allocations: 121.8 kB / 0.7336 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/0.2176, allocations: 7.938 kB / 0.7336 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.952e-05/0.2177, allocations: 12.38 kB / 0.7336 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2177, allocations: 0 / 0.7336 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2177, allocations: 3.938 kB / 0.7336 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2177, allocations: 0 / 0.7336 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.2178, allocations: 148.7 kB / 0.7338 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2178, allocations: 7.938 kB / 0.7338 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.2179, allocations: 15.97 kB / 0.7338 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.2179, allocations: 4 kB / 0.7338 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.218, allocations: 0 / 0.7338 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.218, allocations: 96 / 0.7338 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.218, allocations: 3.938 kB / 0.7338 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000399/0.2184, allocations: 156.9 kB / 0.734 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.259e-05/0.2184, allocations: 7.953 kB / 0.734 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.2184, allocations: 0 / 0.734 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.586e-05/0.2185, allocations: 15.98 kB / 0.734 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.2185, allocations: 7.984 kB / 0.734 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.904e-06/0.2185, allocations: 4.125 kB / 0.734 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.869e-05/0.2186, allocations: 95.27 kB / 0.7341 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2186, allocations: 0 / 0.7341 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000222/0.2188, allocations: 27.94 kB / 0.7341 GB, free: 10.54 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000784/0.2196, allocations: 0.6865 MB / 0.7348 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005542/0.2202, allocations: 204.9 kB / 0.735 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2202, allocations: 4 kB / 0.735 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.2203, allocations: 44.08 kB / 0.735 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.2206, allocations: 20.05 kB / 0.735 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.2232, allocations: 1.763 MB / 0.7368 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.671e-05/0.2233, allocations: 73.05 kB / 0.7368 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.042e-05/0.2233, allocations: 8 kB / 0.7368 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.416e-05/0.2234, allocations: 23.42 kB / 0.7369 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.2234, allocations: 0 / 0.7369 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03347/0.2568, allocations: 3.351 MB / 0.7401 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.15, allocations: 8.047 kB / 0.7401 GB, free: 4.328 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Switch_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Switch.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.021319921826944] Failed to read output from testmodel.py, exit status != 0: 11.260342030087486 11.27649271 11.062285711 Calling exit ...