Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.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.001314/0.001314, allocations: 114.2 kB / 17.84 MB, free: 5.312 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.001367/0.001367, allocations: 203.1 kB / 20.8 MB, free: 2.371 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.536/1.536, allocations: 230.6 MB / 254.2 MB, free: 15.1 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.003/1.003, allocations: 150 MB / 460.2 MB, free: 5.309 MB / 350.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.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="cs",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.002684/0.002684, allocations: 66.88 kB / 0.6368 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1844, allocations: 89.14 MB / 0.7238 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule): time 0.00335/0.1877, allocations: 1.505 MB / 0.7253 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002034/0.1898, allocations: 1.156 MB / 0.7264 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.069e-05/0.1898, allocations: 0 / 0.7264 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002068/0.19, allocations: 15.86 kB / 0.7264 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.1903, allocations: 39.78 kB / 0.7265 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.1905, allocations: 62.59 kB / 0.7265 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002616/0.1908, allocations: 151.5 kB / 0.7267 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.1909, allocations: 53.3 kB / 0.7267 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.1911, allocations: 79.83 kB / 0.7268 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.1913, allocations: 67.62 kB / 0.7269 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.68e-05/0.1913, allocations: 12 kB / 0.7269 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.408e-05/0.1914, allocations: 24 kB / 0.7269 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.333e-05/0.1915, allocations: 55.81 kB / 0.727 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.1916, allocations: 71.58 kB / 0.727 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003606/0.192, allocations: 195.3 kB / 0.7272 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.192, allocations: 0 / 0.7272 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.723e-06/0.192, allocations: 0 / 0.7272 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.586e-05/0.192, allocations: 0 / 0.7272 GB, free: 0.5938 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009534/0.193, allocations: 0.4984 MB / 0.7277 GB, free: 48 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/0.193, allocations: 8.031 kB / 0.7277 GB, free: 40 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.041e-05/0.193, allocations: 192 / 0.7277 GB, free: 40 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001032/0.1931, allocations: 46.67 kB / 0.7277 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.1932, allocations: 20.84 kB / 0.7278 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004185/0.1937, allocations: 251.8 kB / 0.728 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002031/0.1939, allocations: 123.3 kB / 0.7281 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.1939, allocations: 8.125 kB / 0.7281 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004475/0.1943, allocations: 173.4 kB / 0.7283 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1943, allocations: 0 / 0.7283 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.1944, allocations: 4 kB / 0.7283 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.37e-05/0.1944, allocations: 11.98 kB / 0.7283 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.354e-05/0.1945, allocations: 35.98 kB / 0.7283 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.1958, allocations: 468.3 kB / 0.7288 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.69e-05/0.1959, allocations: 30.58 kB / 0.7288 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.764e-05/0.196, allocations: 20.84 kB / 0.7288 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.04e-05/0.196, allocations: 8 kB / 0.7289 GB, free: 14.72 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.21e-05/0.196, allocations: 34.56 kB / 0.7289 GB, free: 14.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 2.014e-06/0.196, allocations: 4 kB / 0.7289 GB, free: 14.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0003385/0.1964, allocations: 113.6 kB / 0.729 GB, free: 14.56 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.1964, allocations: 55.34 kB / 0.7291 GB, free: 14.49 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.1967, allocations: 211.8 kB / 0.7293 GB, free: 14.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.1968, allocations: 25.7 kB / 0.7293 GB, free: 14.23 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.1969, allocations: 128 kB / 0.7294 GB, free: 14.11 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.1969, allocations: 23.94 kB / 0.7294 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.24e-05/0.197, allocations: 29.7 kB / 0.7294 GB, free: 14.05 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.1971, allocations: 330.8 kB / 0.7298 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.991e-05/0.1972, allocations: 31.91 kB / 0.7298 GB, free: 13.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.1973, allocations: 102 kB / 0.7299 GB, free: 13.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.1975, allocations: 138.2 kB / 0.73 GB, free: 13.38 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.1975, allocations: 7.984 kB / 0.73 GB, free: 13.37 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002962/0.1978, allocations: 157.4 kB / 0.7302 GB, free: 13.21 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.1978, allocations: 4 kB / 0.7302 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1979, allocations: 4 kB / 0.7302 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.1979, allocations: 8 kB / 0.7302 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.198, allocations: 31.86 kB / 0.7302 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.198, allocations: 4 kB / 0.7302 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.716e-05/0.1981, allocations: 11.89 kB / 0.7302 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.1981, allocations: 8 kB / 0.7303 GB, free: 13.14 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * 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 0.0001508/0.1982, allocations: 150 kB / 0.7304 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.768e-05/0.1983, allocations: 11.91 kB / 0.7304 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.1985, allocations: 118.9 kB / 0.7305 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1985, allocations: 3.938 kB / 0.7305 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1985, allocations: 3.984 kB / 0.7305 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1985, allocations: 0 / 0.7305 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002842/0.1988, allocations: 229.6 kB / 0.7307 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1988, allocations: 0 / 0.7307 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.244e-05/0.1989, allocations: 19.92 kB / 0.7308 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1989, allocations: 3.938 kB / 0.7308 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.1989, allocations: 8 kB / 0.7308 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.1989, allocations: 3.938 kB / 0.7308 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1989, allocations: 0 / 0.7308 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.1991, allocations: 183.4 kB / 0.731 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.249e-05/0.1992, allocations: 93 kB / 0.731 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.1992, allocations: 4 kB / 0.731 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/0.1995, allocations: 23.86 kB / 0.7311 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.1995, allocations: 11.98 kB / 0.7311 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.1995, allocations: 11.98 kB / 0.7311 GB, free: 12.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001826/0.1997, allocations: 157.5 kB / 0.7312 GB, free: 12.03 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1997, allocations: 0 / 0.7312 GB, free: 12.03 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003165/0.2, allocations: 35.83 kB / 0.7313 GB, free: 11.99 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0007871/0.2008, allocations: 0.7406 MB / 0.732 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.2011, allocations: 72.45 kB / 0.7321 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.2011, allocations: 0 / 0.7321 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.946e-05/0.2011, allocations: 32.05 kB / 0.7321 GB, free: 11.13 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.2015, allocations: 31.03 kB / 0.7321 GB, free: 11.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/0.2038, allocations: 1.916 MB / 0.734 GB, free: 9.035 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.2042, allocations: 0.7353 MB / 0.7347 GB, free: 8.273 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001273/0.2043, allocations: 48.8 kB / 0.7348 GB, free: 8.227 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.257e-05/0.2044, allocations: 47.41 kB / 0.7348 GB, free: 8.18 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.2044, allocations: 0 / 0.7348 GB, free: 8.18 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.2287, allocations: 4.269 MB / 0.739 GB, free: 4.074 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.622/8.85, allocations: 18.09 kB / 0.739 GB, free: 4.062 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.803313089010771] Failed to read output from testmodel.py, exit status != 0: 8.981903882988263 9.008939567 8.811411765 Calling exit ...