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.0008995/0.0008995, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009577/0.0009577, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9202/0.9202, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.773/1.773, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.342e-05/1.483e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.001657/0.001672, allocations: 1.36 MB / 1.001 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001029/0.001775, allocations: 39.78 kB / 1.001 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.402e-05/0.001819, allocations: 7.875 kB / 1.001 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.001963, allocations: 11.92 kB / 1.001 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.793e-05/0.002061, allocations: 11.98 kB / 1.001 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.436e-06/0.002064, allocations: 0 / 1.001 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.262e-05/0.002117, allocations: 11.94 kB / 1.001 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.606e-05/0.002153, allocations: 3.984 kB / 1.001 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.142e-05/0.002195, allocations: 15.88 kB / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.217e-05/0.002237, allocations: 11.97 kB / 1.001 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.002255, allocations: 0 / 1.001 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.3e-05/0.002298, allocations: 11.94 kB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.232e-05/0.002341, allocations: 4 kB / 1.001 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.705e-05/0.002358, allocations: 7.938 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.51e-05/0.002443, allocations: 23.91 kB / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.002444, allocations: 0 / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.072e-06/0.002446, allocations: 0 / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.002449, allocations: 0 / 1.001 GB, free: 11.98 MB / 0.9636 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.0002426/0.002692, allocations: 262.2 kB / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.00273, allocations: 8.75 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.153e-05/0.002781, allocations: 30.75 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.331e-05/0.002804, allocations: 8.891 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.002951, allocations: 117.7 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.00296, allocations: 4.359 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.372e-06/0.002966, allocations: 384 / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.654e-05/0.003053, allocations: 42.25 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.003058, allocations: 192 / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.003065, allocations: 384 / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.00308, allocations: 4.125 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.831e-05/0.003098, allocations: 7.938 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002146/0.003313, allocations: 208.1 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.037e-05/0.003353, allocations: 26.56 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.332e-05/0.003366, allocations: 8.859 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.003383, allocations: 0 / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.003402, allocations: 38.5 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 7.12e-07/0.003403, allocations: 4 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001154/0.003518, allocations: 29.7 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.003545, allocations: 55.41 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.826e-05/0.003614, allocations: 113.8 kB / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.003622, allocations: 25.7 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.278e-05/0.003654, allocations: 96.06 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.143e-05/0.003666, allocations: 3.953 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.23e-05/0.003688, allocations: 17.84 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.096e-05/0.003759, allocations: 318.8 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.386e-06/0.003767, allocations: 0 / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.182e-06/0.003774, allocations: 4 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.979e-05/0.003793, allocations: 20.78 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.003795, allocations: 0 / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.361e-05/0.003828, allocations: 37.64 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.003841, allocations: 4 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.003846, allocations: 0 / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.003856, allocations: 4.031 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.383e-05/0.0039, allocations: 8 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.003904, allocations: 0 / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.959e-06/0.003914, allocations: 3.984 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.003919, allocations: 0 / 1.003 GB, free: 10.3 MB / 0.9636 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 4.627e-05/0.003965, allocations: 109.8 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.003979, allocations: 7.891 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.193e-05/0.004041, allocations: 49.09 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.004042, allocations: 0 / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.004045, allocations: 0 / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.004048, allocations: 4.031 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.578e-05/0.004144, allocations: 124.8 kB / 1.003 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-07/0.004144, allocations: 0 / 1.003 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-06/0.00415, allocations: 4 kB / 1.003 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.004152, allocations: 3.938 kB / 1.003 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.004157, allocations: 0 / 1.003 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.004158, allocations: 0 / 1.003 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.004158, allocations: 0 / 1.003 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.542e-05/0.004224, allocations: 139.5 kB / 1.003 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-06/0.00423, allocations: 7.891 kB / 1.003 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.135e-06/0.004238, allocations: 0 / 1.003 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.302e-05/0.004261, allocations: 4.031 kB / 1.003 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.151e-05/0.004273, allocations: 4 kB / 1.003 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-06/0.004274, allocations: 0 / 1.003 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.376e-05/0.004308, allocations: 95.25 kB / 1.003 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.004308, allocations: 0 / 1.003 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001538/0.004462, allocations: 4 kB / 1.003 GB, free: 9.676 MB / 0.9636 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.0003108/0.004772, allocations: 0.6897 MB / 1.004 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.187e-05/0.004824, allocations: 7.938 kB / 1.004 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.004826, allocations: 0 / 1.004 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.021e-06/0.004832, allocations: 7.984 kB / 1.004 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.00498, allocations: 5.562 kB / 1.004 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006401/0.00562, allocations: 1.175 MB / 1.005 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.925e-05/0.005659, allocations: 63.5 kB / 1.005 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.624e-05/0.005685, allocations: 12.58 kB / 1.005 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/0.005714, allocations: 12.48 kB / 1.005 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of SimCode: time 4.21e-07/0.005715, allocations: 0 / 1.005 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01618/0.02189, allocations: 2.024 MB / 1.007 GB, free: 5.684 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.016/7.038, allocations: 17.61 kB / 1.007 GB, free: 5.672 MB / 0.9636 GB " [Timeout remaining time 293] (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: 11.019505134783685] Failed to read output from testmodel.py, exit status != 0: 7.119835706427693 7.131163606 7.125996883 Calling exit ...