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.00182/0.00182, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002199/0.002199, allocations: 212.8 kB / 22.99 MB, free: 4.609 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.555/1.555, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.002/1.002, allocations: 149.9 MB / 463.1 MB, free: 10.28 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.002108/0.002108, allocations: 63.81 kB / 0.6411 GB, free: 10.04 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2054, allocations: 89.18 MB / 0.7282 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002801/0.2082, allocations: 0.7413 MB / 0.7289 GB, free: 192 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001842/0.2101, allocations: 1.17 MB / 0.7301 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.596e-05/0.2101, allocations: 0 / 0.7301 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.18e-05/0.2102, allocations: 3.938 kB / 0.7301 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.141e-05/0.2102, allocations: 23.86 kB / 0.7301 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005595/0.2108, allocations: 135.4 kB / 0.7302 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.211, allocations: 127.7 kB / 0.7304 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.2111, allocations: 11.98 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.2113, allocations: 55.84 kB / 0.7304 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.2114, allocations: 47.8 kB / 0.7305 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.512e-05/0.2115, allocations: 12 kB / 0.7305 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.24e-05/0.2115, allocations: 23.98 kB / 0.7305 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.892e-05/0.2116, allocations: 12 kB / 0.7305 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.991e-05/0.2116, allocations: 43.84 kB / 0.7306 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.2119, allocations: 119.9 kB / 0.7307 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.2119, allocations: 0 / 0.7307 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.552e-06/0.2119, allocations: 0 / 0.7307 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.2119, allocations: 3.938 kB / 0.7307 GB, free: 14.4 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.0007674/0.2127, allocations: 351.7 kB / 0.731 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/0.2127, allocations: 12.03 kB / 0.731 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.71e-05/0.2128, allocations: 34.73 kB / 0.7311 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.855e-05/0.2129, allocations: 12.94 kB / 0.7311 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.213, allocations: 118.4 kB / 0.7312 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.213, allocations: 4.375 kB / 0.7312 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.213, allocations: 8.375 kB / 0.7312 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.2133, allocations: 74.2 kB / 0.7313 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.2133, allocations: 3.938 kB / 0.7313 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.2133, allocations: 4 kB / 0.7313 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.2133, allocations: 4 kB / 0.7313 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002885/0.2136, allocations: 67.92 kB / 0.7313 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004906/0.2141, allocations: 287.8 kB / 0.7316 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.2143, allocations: 46.55 kB / 0.7317 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.2145, allocations: 44.91 kB / 0.7317 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.2145, allocations: 4 kB / 0.7317 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003106/0.2148, allocations: 95.42 kB / 0.7318 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/0.2148, allocations: 3.938 kB / 0.7318 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0006044/0.2154, allocations: 161.5 kB / 0.732 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/0.2155, allocations: 67.33 kB / 0.732 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.2156, allocations: 126 kB / 0.7321 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.2156, allocations: 29.7 kB / 0.7322 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.546e-05/0.2157, allocations: 92.09 kB / 0.7323 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.2157, allocations: 19.89 kB / 0.7323 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.116e-05/0.2158, allocations: 29.7 kB / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.2159, allocations: 322.8 kB / 0.7326 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.2162, allocations: 89.64 kB / 0.7327 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.2164, allocations: 116.2 kB / 0.7328 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003674/0.2168, allocations: 144.2 kB / 0.7329 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2168, allocations: 0 / 0.7329 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005613/0.2173, allocations: 248.9 kB / 0.7332 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.036e-05/0.2174, allocations: 29.7 kB / 0.7332 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2174, allocations: 4 kB / 0.7332 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.2174, allocations: 0 / 0.7332 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.2175, allocations: 23.91 kB / 0.7332 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.2175, allocations: 0 / 0.7332 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.2178, allocations: 44.02 kB / 0.7333 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.2178, allocations: 8.078 kB / 0.7333 GB, free: 11.46 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.0001097/0.2179, allocations: 129.7 kB / 0.7334 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.525e-05/0.2179, allocations: 3.953 kB / 0.7334 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.344e-05/0.218, allocations: 12.38 kB / 0.7334 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.218, allocations: 0 / 0.7334 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.218, allocations: 0 / 0.7334 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.218, allocations: 0 / 0.7334 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.2181, allocations: 152.7 kB / 0.7336 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2181, allocations: 4 kB / 0.7336 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.2182, allocations: 15.97 kB / 0.7336 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.2182, allocations: 7.984 kB / 0.7336 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.2182, allocations: 0 / 0.7336 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2182, allocations: 0 / 0.7336 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2182, allocations: 320 / 0.7336 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004056/0.2186, allocations: 160.9 kB / 0.7337 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.405e-05/0.2187, allocations: 11.95 kB / 0.7338 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.2187, allocations: 0 / 0.7338 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.51e-05/0.2188, allocations: 15.98 kB / 0.7338 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.2188, allocations: 11.92 kB / 0.7338 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.2188, allocations: 0 / 0.7338 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.476e-05/0.2189, allocations: 97.39 kB / 0.7339 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2189, allocations: 0 / 0.7339 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002258/0.2191, allocations: 24 kB / 0.7339 GB, free: 10.76 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.0007793/0.2199, allocations: 0.6904 MB / 0.7346 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000503/0.2204, allocations: 201 kB / 0.7348 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2204, allocations: 0 / 0.7348 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.2206, allocations: 52.02 kB / 0.7348 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.2208, allocations: 18.17 kB / 0.7348 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002513/0.2233, allocations: 1.769 MB / 0.7366 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.491e-05/0.2234, allocations: 71.33 kB / 0.7366 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.318e-05/0.2234, allocations: 4 kB / 0.7366 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.706e-05/0.2235, allocations: 27.42 kB / 0.7367 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/0.2235, allocations: 0 / 0.7367 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03312/0.2566, allocations: 3.35 MB / 0.7399 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.47, allocations: 8 kB / 0.7399 GB, free: 4.547 MB / 0.5606 GB " [Timeout remaining time 648] (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.448249834123999] Failed to read output from testmodel.py, exit status != 0: 11.57761259097606 11.60678638 11.389659495 Calling exit ...