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.001786/0.001786, 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.001922/0.001922, allocations: 214 kB / 22.99 MB, free: 4.605 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.574/1.574, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.988/0.988, allocations: 149.9 MB / 463.1 MB, free: 10.37 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_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.002109/0.002109, allocations: 61.09 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1897, allocations: 89.18 MB / 0.7282 GB, free: 1.039 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002155/0.1919, allocations: 0.6529 MB / 0.7288 GB, free: 396 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001755/0.1936, allocations: 1.287 MB / 0.7301 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.808e-05/0.1937, allocations: 0 / 0.7301 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.17e-05/0.1937, allocations: 7.938 kB / 0.7301 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.983e-05/0.1938, allocations: 15.86 kB / 0.7301 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008261/0.1946, allocations: 319 kB / 0.7304 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003293/0.1949, allocations: 259.5 kB / 0.7306 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.195, allocations: 12.19 kB / 0.7307 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.1952, allocations: 99.86 kB / 0.7307 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.1954, allocations: 87.67 kB / 0.7308 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.967e-05/0.1954, allocations: 24 kB / 0.7309 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.666e-05/0.1955, allocations: 28 kB / 0.7309 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.711e-05/0.1955, allocations: 15.98 kB / 0.7309 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.1956, allocations: 79.81 kB / 0.731 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002844/0.1959, allocations: 223.6 kB / 0.7312 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1959, allocations: 0 / 0.7312 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.224e-06/0.1959, allocations: 0 / 0.7312 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.1959, allocations: 0 / 0.7312 GB, free: 13.95 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.0005882/0.1965, allocations: 427 kB / 0.7316 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.1966, allocations: 12.03 kB / 0.7316 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.634e-05/0.1966, allocations: 38.73 kB / 0.7316 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.127e-05/0.1966, allocations: 16.89 kB / 0.7317 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.1968, allocations: 114.5 kB / 0.7318 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.1968, allocations: 16.36 kB / 0.7318 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.532e-05/0.1968, allocations: 20.36 kB / 0.7318 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.197, allocations: 57.98 kB / 0.7319 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.197, allocations: 0 / 0.7319 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.197, allocations: 4 kB / 0.7319 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.197, allocations: 0 / 0.7319 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.146e-05/0.197, allocations: 23.92 kB / 0.7319 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005506/0.1976, allocations: 343.7 kB / 0.7322 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.215e-05/0.1977, allocations: 26.58 kB / 0.7322 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.207e-05/0.1977, allocations: 20.94 kB / 0.7323 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.1977, allocations: 4 kB / 0.7323 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002318/0.198, allocations: 115.3 kB / 0.7324 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.198, allocations: 0 / 0.7324 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0003162/0.1983, allocations: 141.8 kB / 0.7325 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.1983, allocations: 55.41 kB / 0.7326 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.1984, allocations: 131.2 kB / 0.7327 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.258e-05/0.1985, allocations: 33.7 kB / 0.7327 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.166e-05/0.1986, allocations: 96.09 kB / 0.7328 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.1986, allocations: 23.84 kB / 0.7328 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.1987, allocations: 65.67 kB / 0.7329 GB, free: 12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1988, allocations: 330.8 kB / 0.7332 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002623/0.1991, allocations: 181 kB / 0.7334 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000277/0.1994, allocations: 224.6 kB / 0.7336 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/0.1997, allocations: 239 kB / 0.7338 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1997, allocations: 0 / 0.7338 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006661/0.2003, allocations: 477.3 kB / 0.7343 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.262e-05/0.2004, allocations: 101.1 kB / 0.7344 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2004, allocations: 0 / 0.7344 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.2004, allocations: 4 kB / 0.7344 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.098e-05/0.2005, allocations: 0 / 0.7344 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.2005, allocations: 4 kB / 0.7344 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004619/0.2009, allocations: 91.92 kB / 0.7345 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/0.201, allocations: 15.98 kB / 0.7345 GB, free: 10.21 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.0001276/0.2011, allocations: 137.7 kB / 0.7346 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.2011, allocations: 7.953 kB / 0.7346 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.956e-05/0.2011, allocations: 12.38 kB / 0.7346 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2011, allocations: 0 / 0.7346 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2012, allocations: 0 / 0.7346 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.2012, allocations: 4 kB / 0.7346 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.2013, allocations: 160.7 kB / 0.7348 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.2013, allocations: 0 / 0.7348 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.656e-06/0.2013, allocations: 0 / 0.7348 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2013, allocations: 0 / 0.7348 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.2013, allocations: 4 kB / 0.7348 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2013, allocations: 0 / 0.7348 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2013, allocations: 0 / 0.7348 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/0.2015, allocations: 144.9 kB / 0.7349 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.486e-05/0.2016, allocations: 12.08 kB / 0.7349 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.2016, allocations: 0 / 0.7349 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.497e-05/0.2016, allocations: 15.94 kB / 0.735 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.2016, allocations: 7.984 kB / 0.735 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.2016, allocations: 7.984 kB / 0.735 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.416e-05/0.2017, allocations: 101.6 kB / 0.7351 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2017, allocations: 0 / 0.7351 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002588/0.202, allocations: 44 kB / 0.7351 GB, free: 9.492 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.0005344/0.2025, allocations: 0.6787 MB / 0.7358 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005246/0.203, allocations: 415.4 kB / 0.7362 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.203, allocations: 4.125 kB / 0.7362 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.561e-05/0.2031, allocations: 31.92 kB / 0.7362 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.2033, allocations: 22.02 kB / 0.7362 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002849/0.2062, allocations: 2.442 MB / 0.7386 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.905e-05/0.2063, allocations: 87.81 kB / 0.7387 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.245e-05/0.2063, allocations: 12.42 kB / 0.7387 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.383e-05/0.2064, allocations: 27.42 kB / 0.7387 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of SimCode: time 6.32e-07/0.2064, allocations: 3.938 kB / 0.7387 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03236/0.2387, allocations: 4.685 MB / 0.7433 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.46, allocations: 4.062 kB / 0.7433 GB, free: 0.9648 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 sys.exit(0), Time elapsed: 15.474723701830953] Failed to read output from testmodel.py, exit status != 0: 11.567063132766634 11.584003015 11.384871937 Calling exit ...