Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.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.001328/0.001328, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.00155/0.00155, allocations: 218.2 kB / 22.26 MB, free: 5.125 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.524/1.524, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.4/3.4, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002038/0.002038, allocations: 70.56 kB / 1.177 GB, free: 16.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3524, allocations: 180.2 MB / 1.353 GB, free: 8.418 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.003002/0.3554, allocations: 1.373 MB / 1.354 GB, free: 7.035 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001886/0.3556, allocations: 43.83 kB / 1.354 GB, free: 6.992 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.768e-05/0.3557, allocations: 0 / 1.354 GB, free: 6.992 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.3558, allocations: 7.922 kB / 1.354 GB, free: 6.984 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.356, allocations: 23.86 kB / 1.354 GB, free: 6.961 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.228e-06/0.356, allocations: 3.938 kB / 1.354 GB, free: 6.957 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.857e-05/0.356, allocations: 11.98 kB / 1.354 GB, free: 6.945 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.601e-05/0.3561, allocations: 288 / 1.354 GB, free: 6.945 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.843e-05/0.3561, allocations: 11.88 kB / 1.354 GB, free: 6.934 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.542e-05/0.3562, allocations: 11.98 kB / 1.354 GB, free: 6.922 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.3562, allocations: 3.938 kB / 1.354 GB, free: 6.918 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.663e-05/0.3563, allocations: 12 kB / 1.354 GB, free: 6.906 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.475e-05/0.3563, allocations: 7.984 kB / 1.354 GB, free: 6.898 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.3563, allocations: 7.938 kB / 1.354 GB, free: 6.891 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.3564, allocations: 19.86 kB / 1.354 GB, free: 6.871 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.3564, allocations: 8 kB / 1.354 GB, free: 6.863 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3564, allocations: 0 / 1.354 GB, free: 6.863 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3564, allocations: 0 / 1.354 GB, free: 6.863 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003843/0.3568, allocations: 260.1 kB / 1.355 GB, free: 6.578 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.3569, allocations: 12.03 kB / 1.355 GB, free: 6.566 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.989e-05/0.3569, allocations: 38.72 kB / 1.355 GB, free: 6.52 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.357, allocations: 0.9375 kB / 1.355 GB, free: 6.52 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.3571, allocations: 118.5 kB / 1.355 GB, free: 6.379 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.3571, allocations: 384 / 1.355 GB, free: 6.379 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-06/0.3571, allocations: 4.375 kB / 1.355 GB, free: 6.375 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.3572, allocations: 38.19 kB / 1.355 GB, free: 6.332 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3573, allocations: 3.938 kB / 1.355 GB, free: 6.328 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.3573, allocations: 0 / 1.355 GB, free: 6.328 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.3573, allocations: 7.938 kB / 1.355 GB, free: 6.32 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.177e-05/0.3573, allocations: 4 kB / 1.355 GB, free: 6.316 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000292/0.3576, allocations: 212 kB / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.829e-05/0.3576, allocations: 22.52 kB / 1.355 GB, free: 6.035 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.873e-05/0.3577, allocations: 8.797 kB / 1.355 GB, free: 6.023 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.3577, allocations: 4.062 kB / 1.355 GB, free: 6.02 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.3577, allocations: 34.56 kB / 1.355 GB, free: 5.977 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.3577, allocations: 0 / 1.355 GB, free: 5.977 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0002061/0.3579, allocations: 37.69 kB / 1.355 GB, free: 5.934 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.358, allocations: 51.41 kB / 1.355 GB, free: 5.871 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.3581, allocations: 118 kB / 1.355 GB, free: 5.746 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.3581, allocations: 25.7 kB / 1.355 GB, free: 5.715 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.152e-05/0.3582, allocations: 84.09 kB / 1.355 GB, free: 5.629 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.527e-05/0.3582, allocations: 4 kB / 1.355 GB, free: 5.625 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/0.3582, allocations: 13.72 kB / 1.355 GB, free: 5.605 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3583, allocations: 318.8 kB / 1.356 GB, free: 5.285 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.561e-05/0.3584, allocations: 8 kB / 1.356 GB, free: 5.277 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.035e-06/0.3584, allocations: 0 / 1.356 GB, free: 5.277 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.635e-05/0.3584, allocations: 16.92 kB / 1.356 GB, free: 5.258 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3584, allocations: 7.875 kB / 1.356 GB, free: 5.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.765e-05/0.3585, allocations: 37.69 kB / 1.356 GB, free: 5.207 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3585, allocations: 4 kB / 1.356 GB, free: 5.203 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3585, allocations: 0 / 1.356 GB, free: 5.203 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3585, allocations: 0 / 1.356 GB, free: 5.203 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.488e-05/0.3586, allocations: 4 kB / 1.356 GB, free: 5.199 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3586, allocations: 0 / 1.356 GB, free: 5.199 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.547e-05/0.3586, allocations: 7.891 kB / 1.356 GB, free: 5.191 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.3586, allocations: 4.344 kB / 1.356 GB, free: 5.188 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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.839e-05/0.3587, allocations: 117.7 kB / 1.356 GB, free: 5.062 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.3587, allocations: 0 / 1.356 GB, free: 5.062 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.676e-05/0.3588, allocations: 49.14 kB / 1.356 GB, free: 5.004 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3588, allocations: 0 / 1.356 GB, free: 5.004 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3588, allocations: 0 / 1.356 GB, free: 5.004 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3588, allocations: 3.984 kB / 1.356 GB, free: 5 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.359, allocations: 132.7 kB / 1.356 GB, free: 4.828 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.359, allocations: 32 / 1.356 GB, free: 4.828 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.764e-05/0.359, allocations: 11.92 kB / 1.356 GB, free: 4.816 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.359, allocations: 0 / 1.356 GB, free: 4.816 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.359, allocations: 0 / 1.356 GB, free: 4.816 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.359, allocations: 0 / 1.356 GB, free: 4.816 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.359, allocations: 4 kB / 1.356 GB, free: 4.812 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.3591, allocations: 139.4 kB / 1.356 GB, free: 4.66 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.805e-06/0.3591, allocations: 0 / 1.356 GB, free: 4.66 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.3591, allocations: 8.016 kB / 1.356 GB, free: 4.652 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.185e-05/0.3592, allocations: 0 / 1.356 GB, free: 4.652 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.839e-06/0.3592, allocations: 0 / 1.356 GB, free: 4.652 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.3592, allocations: 4 kB / 1.356 GB, free: 4.648 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.186e-05/0.3592, allocations: 91.27 kB / 1.356 GB, free: 4.559 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3592, allocations: 0 / 1.356 GB, free: 4.559 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002275/0.3595, allocations: 7.938 kB / 1.356 GB, free: 4.551 MB / 1.045 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 (1): * Single equations (assignments): 1 * 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.0005598/0.36, allocations: 0.6832 MB / 1.357 GB, free: 3.844 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.807e-05/0.3601, allocations: 8 kB / 1.357 GB, free: 3.836 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3601, allocations: 0 / 1.357 GB, free: 3.836 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.233e-05/0.3601, allocations: 4.094 kB / 1.357 GB, free: 3.832 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.3604, allocations: 4.062 kB / 1.357 GB, free: 3.828 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.3615, allocations: 1.175 MB / 1.358 GB, free: 2.574 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.3618, allocations: 0.6807 MB / 1.359 GB, free: 1.867 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.706e-05/0.3619, allocations: 4 kB / 1.359 GB, free: 1.863 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/0.3619, allocations: 15.42 kB / 1.359 GB, free: 1.848 MB / 1.045 GB Notification: Performance of SimCode: time 4.31e-07/0.3619, allocations: 3.938 kB / 1.359 GB, free: 1.844 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.3913, allocations: 1.49 MB / 1.36 GB, free: 496 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.6, allocations: 12.59 kB / 1.36 GB, free: 488 kB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=100 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule.fmu > Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.428426364902407] Failed to read output from testmodel.py, exit status != 0: 11.707282638875768 11.737326994 11.3760511 Calling exit ...