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.00138/0.00138, allocations: 117.8 kB / 19.69 MB, free: 2.199 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.001997/0.001997, allocations: 221.1 kB / 23.01 MB, free: 5.047 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.9735/0.9735, allocations: 150 MB / 463.2 MB, free: 10.46 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.003278/0.003278, allocations: 70.5 kB / 0.6413 GB, free: 10.29 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2093, allocations: 89.17 MB / 0.7284 GB, free: 1.188 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002029/0.2113, allocations: 0.7802 MB / 0.7292 GB, free: 416 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.2129, allocations: 1.186 MB / 0.7303 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.003e-05/0.213, allocations: 0 / 0.7303 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.943e-05/0.213, allocations: 3.938 kB / 0.7303 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.703e-05/0.2131, allocations: 19.84 kB / 0.7303 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005237/0.2136, allocations: 143.5 kB / 0.7305 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.2138, allocations: 119.8 kB / 0.7306 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.106e-05/0.2139, allocations: 19.97 kB / 0.7306 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.214, allocations: 47.91 kB / 0.7307 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.2141, allocations: 55.81 kB / 0.7307 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.2142, allocations: 11.98 kB / 0.7307 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.404e-05/0.2142, allocations: 27.94 kB / 0.7307 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.2143, allocations: 11.92 kB / 0.7308 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.731e-05/0.2143, allocations: 43.84 kB / 0.7308 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.2145, allocations: 123.9 kB / 0.7309 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2145, allocations: 0 / 0.7309 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2145, allocations: 0 / 0.7309 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.2145, allocations: 0 / 0.7309 GB, free: 14.59 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.0006641/0.2152, allocations: 355.7 kB / 0.7313 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.2152, allocations: 12.03 kB / 0.7313 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.223e-05/0.2153, allocations: 34.73 kB / 0.7313 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.2153, allocations: 4.938 kB / 0.7313 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.2154, allocations: 126.5 kB / 0.7314 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.2154, allocations: 4.375 kB / 0.7314 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.2155, allocations: 8.375 kB / 0.7314 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.2157, allocations: 78.14 kB / 0.7315 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.2158, allocations: 3.938 kB / 0.7315 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.2158, allocations: 0 / 0.7315 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.2158, allocations: 4 kB / 0.7315 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002856/0.2161, allocations: 71.92 kB / 0.7316 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004719/0.2165, allocations: 311.6 kB / 0.7319 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.2167, allocations: 50.48 kB / 0.7319 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.2169, allocations: 48.91 kB / 0.732 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.2169, allocations: 0 / 0.732 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002993/0.2172, allocations: 95.28 kB / 0.7321 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.2172, allocations: 0 / 0.7321 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0005817/0.2178, allocations: 169.5 kB / 0.7322 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.2178, allocations: 55.48 kB / 0.7323 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.2179, allocations: 123.7 kB / 0.7324 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.218, allocations: 25.7 kB / 0.7324 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.212e-05/0.218, allocations: 100.1 kB / 0.7325 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.218, allocations: 19.89 kB / 0.7325 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-05/0.2181, allocations: 29.7 kB / 0.7326 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.2183, allocations: 322.8 kB / 0.7329 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.2185, allocations: 59.94 kB / 0.7329 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.2187, allocations: 82.52 kB / 0.733 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003453/0.219, allocations: 144.1 kB / 0.7332 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.219, allocations: 0 / 0.7332 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005354/0.2196, allocations: 219.2 kB / 0.7334 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.207e-05/0.2196, allocations: 37.69 kB / 0.7334 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2196, allocations: 0 / 0.7334 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.2196, allocations: 0 / 0.7334 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.2197, allocations: 16.3 kB / 0.7334 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.2197, allocations: 0 / 0.7334 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.22, allocations: 47.95 kB / 0.7335 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.22, allocations: 11.98 kB / 0.7335 GB, free: 11.73 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.0001021/0.2201, allocations: 125.7 kB / 0.7336 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.493e-05/0.2201, allocations: 3.953 kB / 0.7336 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.142e-05/0.2201, allocations: 12.38 kB / 0.7336 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2201, allocations: 0 / 0.7336 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2201, allocations: 0 / 0.7336 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2201, allocations: 0 / 0.7336 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.2203, allocations: 168.6 kB / 0.7338 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2203, allocations: 0 / 0.7338 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.748e-05/0.2204, allocations: 11.98 kB / 0.7338 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2204, allocations: 0 / 0.7338 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.2204, allocations: 4 kB / 0.7338 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2204, allocations: 0 / 0.7338 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2204, allocations: 96 / 0.7338 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/0.2208, allocations: 164.8 kB / 0.7339 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.558e-05/0.2208, allocations: 15.88 kB / 0.734 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.2208, allocations: 0 / 0.734 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.126e-05/0.2209, allocations: 11.98 kB / 0.734 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.2209, allocations: 7.984 kB / 0.734 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.2209, allocations: 4 kB / 0.734 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.689e-05/0.221, allocations: 95.27 kB / 0.7341 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.221, allocations: 0 / 0.7341 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002169/0.2212, allocations: 20 kB / 0.7341 GB, free: 11.03 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.0007327/0.222, allocations: 0.6904 MB / 0.7348 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004672/0.2224, allocations: 175.4 kB / 0.7349 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2224, allocations: 0 / 0.7349 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.2226, allocations: 48.02 kB / 0.735 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.2228, allocations: 27.19 kB / 0.735 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.2251, allocations: 1.637 MB / 0.7366 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.2254, allocations: 0.6885 MB / 0.7373 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.952e-05/0.2255, allocations: 4 kB / 0.7373 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.2255, allocations: 31.34 kB / 0.7373 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of SimCode: time 3.9e-07/0.2255, allocations: 0 / 0.7373 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03049/0.256, allocations: 2.798 MB / 0.74 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.16, allocations: 9.625 kB / 0.74 GB, free: 4.914 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.06475662603043] Failed to read output from testmodel.py, exit status != 0: 11.302420810097829 11.330574161 11.110711467 Calling exit ...