Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.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.001306/0.001306, allocations: 97.17 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.001521/0.001521, allocations: 206.1 kB / 23.04 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.742 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.9734/0.9734, allocations: 150 MB / 463.2 MB, free: 10.17 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.And,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_And",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.00201/0.00201, allocations: 63.28 kB / 0.6413 GB, free: 9.816 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1908, allocations: 89.17 MB / 0.7284 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.And): time 0.002033/0.1928, allocations: 0.6295 MB / 0.729 GB, free: 92 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001759/0.1946, allocations: 1.21 MB / 0.7302 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.074e-05/0.1946, allocations: 0 / 0.7302 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.763e-05/0.1947, allocations: 0 / 0.7302 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.025e-05/0.1947, allocations: 15.86 kB / 0.7302 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007748/0.1955, allocations: 216.5 kB / 0.7304 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002938/0.1958, allocations: 171.8 kB / 0.7305 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.1959, allocations: 8 kB / 0.7306 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.1961, allocations: 75.81 kB / 0.7306 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.1962, allocations: 47.86 kB / 0.7307 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.195e-05/0.1963, allocations: 16 kB / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.125e-05/0.1964, allocations: 24 kB / 0.7307 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.457e-05/0.1964, allocations: 23.91 kB / 0.7307 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.628e-05/0.1965, allocations: 47.91 kB / 0.7308 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.1968, allocations: 155.8 kB / 0.7309 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1968, allocations: 0 / 0.7309 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.144e-06/0.1968, allocations: 0 / 0.7309 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.972e-06/0.1968, allocations: 0 / 0.7309 GB, free: 14.09 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006293/0.1974, allocations: 361.5 kB / 0.7313 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.1974, allocations: 12.03 kB / 0.7313 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.569e-05/0.1975, allocations: 30.75 kB / 0.7313 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.359e-05/0.1975, allocations: 8.938 kB / 0.7313 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.1977, allocations: 126.4 kB / 0.7314 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.1977, allocations: 8.375 kB / 0.7315 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/0.1977, allocations: 8.375 kB / 0.7315 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.1978, allocations: 50.25 kB / 0.7315 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1979, allocations: 3.938 kB / 0.7315 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.1979, allocations: 3.984 kB / 0.7315 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1979, allocations: 0 / 0.7315 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.166e-05/0.1979, allocations: 12 kB / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005255/0.1985, allocations: 291.9 kB / 0.7318 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.1986, allocations: 34.5 kB / 0.7318 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.116e-05/0.1986, allocations: 16.86 kB / 0.7319 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.1986, allocations: 4 kB / 0.7319 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002253/0.1988, allocations: 91.39 kB / 0.7319 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.1988, allocations: 0 / 0.7319 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002872/0.1991, allocations: 101.6 kB / 0.732 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.1992, allocations: 55.41 kB / 0.7321 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.1993, allocations: 117.8 kB / 0.7322 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/0.1993, allocations: 33.7 kB / 0.7322 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.933e-05/0.1994, allocations: 92.12 kB / 0.7323 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.1995, allocations: 15.89 kB / 0.7323 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.1996, allocations: 49.69 kB / 0.7324 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001954/0.1998, allocations: 326.8 kB / 0.7327 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.1999, allocations: 119.4 kB / 0.7328 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.2001, allocations: 151.6 kB / 0.733 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/0.2004, allocations: 164.1 kB / 0.7331 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2004, allocations: 3.938 kB / 0.7331 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004965/0.2009, allocations: 332.3 kB / 0.7334 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.765e-05/0.2009, allocations: 73.14 kB / 0.7335 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2009, allocations: 0 / 0.7335 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.201, allocations: 4 kB / 0.7335 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.051e-05/0.201, allocations: 0 / 0.7335 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.201, allocations: 4 kB / 0.7335 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003552/0.2013, allocations: 47.89 kB / 0.7336 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.2014, allocations: 19.98 kB / 0.7336 GB, free: 11.06 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001101/0.2015, allocations: 129.7 kB / 0.7337 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.2015, allocations: 4 kB / 0.7337 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.708e-05/0.2015, allocations: 8.375 kB / 0.7337 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2015, allocations: 0 / 0.7337 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.2015, allocations: 0 / 0.7337 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.2016, allocations: 11.97 kB / 0.7337 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.2017, allocations: 140.6 kB / 0.7339 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2017, allocations: 4 kB / 0.7339 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.265e-06/0.2017, allocations: 0 / 0.7339 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2017, allocations: 0 / 0.7339 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.2017, allocations: 7.984 kB / 0.7339 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.2017, allocations: 4 kB / 0.7339 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2017, allocations: 0 / 0.7339 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.2019, allocations: 120.9 kB / 0.734 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.07e-05/0.2019, allocations: 3.953 kB / 0.734 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.2019, allocations: 4 kB / 0.734 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.1e-05/0.202, allocations: 4.062 kB / 0.734 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.202, allocations: 11.98 kB / 0.734 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.202, allocations: 0 / 0.734 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.173e-05/0.2021, allocations: 95.2 kB / 0.7341 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2021, allocations: 0 / 0.7341 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002467/0.2023, allocations: 36 kB / 0.7341 GB, free: 10.42 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005389/0.2029, allocations: 0.6436 MB / 0.7348 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004218/0.2033, allocations: 278.1 kB / 0.735 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2033, allocations: 0 / 0.735 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.304e-05/0.2034, allocations: 32.44 kB / 0.7351 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.2036, allocations: 16.33 kB / 0.7351 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/0.2059, allocations: 1.97 MB / 0.737 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.536e-05/0.2059, allocations: 70.59 kB / 0.7371 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.81e-05/0.206, allocations: 4 kB / 0.7371 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.43e-05/0.206, allocations: 19.42 kB / 0.7371 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.206, allocations: 0 / 0.7371 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03968/0.2457, allocations: 3.628 MB / 0.7406 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.31, allocations: 6.828 kB / 0.7406 GB, free: 3.684 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_And.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.036685172002763] Failed to read output from testmodel.py, exit status != 0: 11.422025880077854 11.437636213 11.237751882 Calling exit ...