Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.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.001316/0.001316, allocations: 114.8 kB / 19.69 MB, free: 2.047 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.00158/0.00158, allocations: 220.4 kB / 23.01 MB, free: 4.926 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.366/1.366, 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.9168/0.9168, allocations: 150 MB / 463.2 MB, free: 10.45 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.Continuous.Examples.OffTimer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer",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.002898/0.002898, allocations: 66.5 kB / 0.6412 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1909, allocations: 89.18 MB / 0.7283 GB, free: 1.223 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002681/0.1936, allocations: 1.48 MB / 0.7298 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008123/0.1944, allocations: 498.7 kB / 0.7302 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.931e-05/0.1945, allocations: 0 / 0.7302 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.27e-05/0.1945, allocations: 3.938 kB / 0.7302 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.793e-05/0.1946, allocations: 7.922 kB / 0.7303 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.1947, allocations: 23.92 kB / 0.7303 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.329e-05/0.1948, allocations: 47.91 kB / 0.7303 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.1949, allocations: 11.98 kB / 0.7303 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.865e-05/0.195, allocations: 27.86 kB / 0.7304 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.729e-05/0.1951, allocations: 27.91 kB / 0.7304 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.1951, allocations: 4 kB / 0.7304 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.335e-05/0.1951, allocations: 4 kB / 0.7304 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.261e-05/0.1951, allocations: 7.938 kB / 0.7304 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.504e-05/0.1952, allocations: 23.92 kB / 0.7304 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.1953, allocations: 52.03 kB / 0.7305 GB, free: 15 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1953, allocations: 0 / 0.7305 GB, free: 15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1953, allocations: 0 / 0.7305 GB, free: 15 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.1953, allocations: 0 / 0.7305 GB, free: 15 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005124/0.1958, allocations: 286.3 kB / 0.7307 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.1958, allocations: 8.031 kB / 0.7308 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.909e-05/0.1959, allocations: 34.73 kB / 0.7308 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.1959, allocations: 12.88 kB / 0.7308 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.196, allocations: 118.4 kB / 0.7309 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.1961, allocations: 4.375 kB / 0.7309 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.1961, allocations: 4.375 kB / 0.7309 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.1962, allocations: 61.73 kB / 0.731 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1962, allocations: 0 / 0.731 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.1962, allocations: 8 kB / 0.731 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1962, allocations: 8 kB / 0.731 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.918e-05/0.1963, allocations: 23.92 kB / 0.731 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004798/0.1968, allocations: 267.8 kB / 0.7313 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.1969, allocations: 50.66 kB / 0.7313 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.716e-05/0.1969, allocations: 32.88 kB / 0.7314 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.1969, allocations: 0 / 0.7314 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.1971, allocations: 67.39 kB / 0.7314 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.1971, allocations: 3.938 kB / 0.7314 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0002295/0.1973, allocations: 101.6 kB / 0.7315 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.1974, allocations: 59.39 kB / 0.7316 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.713e-05/0.1974, allocations: 105.8 kB / 0.7317 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1975, allocations: 33.7 kB / 0.7317 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.224e-05/0.1975, allocations: 88.09 kB / 0.7318 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.1975, allocations: 27.78 kB / 0.7318 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.1976, allocations: 21.72 kB / 0.7318 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1977, allocations: 326.8 kB / 0.7322 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.636e-05/0.1978, allocations: 19.92 kB / 0.7322 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.278e-05/0.1978, allocations: 39.44 kB / 0.7322 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.2e-05/0.1979, allocations: 71.36 kB / 0.7323 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1979, allocations: 0 / 0.7323 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001372/0.198, allocations: 93.89 kB / 0.7324 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.198, allocations: 4.375 kB / 0.7324 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1981, allocations: 3.984 kB / 0.7324 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1981, allocations: 4 kB / 0.7324 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.08e-05/0.1981, allocations: 12 kB / 0.7324 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1981, allocations: 11.91 kB / 0.7324 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.214e-05/0.1982, allocations: 11.94 kB / 0.7324 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.1982, allocations: 7.938 kB / 0.7324 GB, free: 12.79 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 8.914e-05/0.1983, allocations: 115.8 kB / 0.7325 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.319e-05/0.1983, allocations: 4 kB / 0.7325 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.903e-05/0.1983, allocations: 12.05 kB / 0.7325 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1983, allocations: 0 / 0.7325 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1984, allocations: 4 kB / 0.7325 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1984, allocations: 0 / 0.7325 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003874/0.1987, allocations: 345.5 kB / 0.7329 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1987, allocations: 0 / 0.7329 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.626e-05/0.1988, allocations: 11.88 kB / 0.7329 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.1988, allocations: 0 / 0.7329 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.1988, allocations: 0 / 0.7329 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.1988, allocations: 7.938 kB / 0.7329 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.1988, allocations: 0 / 0.7329 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.199, allocations: 183.5 kB / 0.7331 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.214e-05/0.199, allocations: 3.953 kB / 0.7331 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.199, allocations: 4 kB / 0.7331 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.178e-05/0.1991, allocations: 7.922 kB / 0.7331 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.1991, allocations: 11.98 kB / 0.7331 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.1991, allocations: 4 kB / 0.7331 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.26e-05/0.1992, allocations: 83.28 kB / 0.7332 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1992, allocations: 0 / 0.7332 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002263/0.1994, allocations: 15.98 kB / 0.7332 GB, free: 11.91 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 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0004506/0.1998, allocations: 0.7228 MB / 0.7339 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001346/0.2, allocations: 47.92 kB / 0.7339 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2, allocations: 0 / 0.7339 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.099e-05/0.2, allocations: 27.92 kB / 0.734 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.2003, allocations: 18.66 kB / 0.734 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.2016, allocations: 1.379 MB / 0.7353 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.2019, allocations: 0.6923 MB / 0.736 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.647e-05/0.2019, allocations: 7.984 kB / 0.736 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.202, allocations: 15.77 kB / 0.736 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of SimCode: time 2.8e-07/0.202, allocations: 0 / 0.736 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0282/0.2302, allocations: 1.903 MB / 0.7379 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.85, allocations: 4.062 kB / 0.7379 GB, free: 7.094 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_OffTimer.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.382610192988068] Failed to read output from testmodel.py, exit status != 0: 10.955947997048497 10.980421189 10.780365426 Calling exit ...