Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.0007656/0.0007656, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007944/0.0007944, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9089/0.9089, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.768/1.768, allocations: 377.8 MB / 0.6221 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.Examples.WeeklySchedule,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.006e-06/3.006e-06, allocations: 0 / 0.9809 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.455e-05/2.755e-05, allocations: 4.812 kB / 0.9809 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003608/0.003636, allocations: 1.502 MB / 0.9824 GB, free: 1.094 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001842/0.005478, allocations: 1.208 MB / 0.9836 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.956e-05/0.005547, allocations: 3.938 kB / 0.9836 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.005769, allocations: 23.8 kB / 0.9836 GB, free: 15.85 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002588/0.006027, allocations: 43.7 kB / 0.9837 GB, free: 15.81 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.006239, allocations: 62.22 kB / 0.9837 GB, free: 15.75 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.006464, allocations: 151.5 kB / 0.9839 GB, free: 15.6 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.006619, allocations: 29.28 kB / 0.9839 GB, free: 15.57 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.006767, allocations: 103.7 kB / 0.984 GB, free: 15.47 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.006899, allocations: 51.88 kB / 0.984 GB, free: 15.42 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.667e-05/0.006936, allocations: 8 kB / 0.984 GB, free: 15.41 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.39e-05/0.00701, allocations: 20 kB / 0.9841 GB, free: 15.39 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.657e-05/0.007096, allocations: 55.81 kB / 0.9841 GB, free: 15.34 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.239e-05/0.007169, allocations: 55.83 kB / 0.9842 GB, free: 15.29 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003209/0.00749, allocations: 215.3 kB / 0.9844 GB, free: 15.07 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.007494, allocations: 0 / 0.9844 GB, free: 15.07 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.943e-06/0.007495, allocations: 4 kB / 0.9844 GB, free: 15.07 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.007502, allocations: 0 / 0.9844 GB, free: 15.07 MB / 0.948 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.0007134/0.008215, allocations: 421.4 kB / 0.9848 GB, free: 14.63 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.00826, allocations: 8.031 kB / 0.9848 GB, free: 14.62 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.313e-05/0.008313, allocations: 38.75 kB / 0.9848 GB, free: 14.57 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.698e-05/0.00838, allocations: 24.8 kB / 0.9848 GB, free: 14.55 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.008699, allocations: 217 kB / 0.9851 GB, free: 14.31 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001728/0.008872, allocations: 222.2 kB / 0.9853 GB, free: 14.05 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.008886, allocations: 4.375 kB / 0.9853 GB, free: 14.04 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003706/0.009257, allocations: 260.9 kB / 0.9855 GB, free: 13.76 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.009266, allocations: 192 / 0.9855 GB, free: 13.76 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.00929, allocations: 11.88 kB / 0.9855 GB, free: 13.75 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.66e-05/0.009316, allocations: 7.984 kB / 0.9855 GB, free: 13.74 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.247e-05/0.009409, allocations: 47.91 kB / 0.9856 GB, free: 13.69 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009383/0.01035, allocations: 403.6 kB / 0.986 GB, free: 13.25 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.561e-05/0.01043, allocations: 38.5 kB / 0.986 GB, free: 13.21 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.394e-05/0.01048, allocations: 20.86 kB / 0.986 GB, free: 13.18 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.01051, allocations: 7.984 kB / 0.986 GB, free: 13.18 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.01053, allocations: 30.56 kB / 0.9861 GB, free: 13.14 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 2.134e-06/0.01054, allocations: 4 kB / 0.9861 GB, free: 13.13 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0002949/0.01083, allocations: 109.6 kB / 0.9862 GB, free: 13.02 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.01087, allocations: 55.34 kB / 0.9862 GB, free: 12.95 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.01112, allocations: 219.8 kB / 0.9864 GB, free: 12.73 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.01115, allocations: 25.7 kB / 0.9865 GB, free: 12.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.318e-05/0.01124, allocations: 124.2 kB / 0.9866 GB, free: 12.57 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.01127, allocations: 23.81 kB / 0.9866 GB, free: 12.55 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.867e-05/0.01133, allocations: 29.7 kB / 0.9866 GB, free: 12.51 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.01147, allocations: 330.8 kB / 0.9869 GB, free: 12.18 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.249e-05/0.01153, allocations: 27.97 kB / 0.987 GB, free: 12.15 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.211e-05/0.01161, allocations: 98.28 kB / 0.9871 GB, free: 12.02 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.01174, allocations: 150 kB / 0.9872 GB, free: 11.84 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01174, allocations: 4 kB / 0.9872 GB, free: 11.83 MB / 0.948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001837/0.01192, allocations: 149.3 kB / 0.9874 GB, free: 11.68 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.01194, allocations: 8 kB / 0.9874 GB, free: 11.67 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.01195, allocations: 4 kB / 0.9874 GB, free: 11.67 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.01197, allocations: 0 / 0.9874 GB, free: 11.67 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.807e-05/0.01206, allocations: 24.36 kB / 0.9874 GB, free: 11.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.01207, allocations: 11.94 kB / 0.9874 GB, free: 11.63 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.85e-05/0.01211, allocations: 11.89 kB / 0.9874 GB, free: 11.62 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.01213, allocations: 15.94 kB / 0.9874 GB, free: 11.61 MB / 0.948 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.0001059/0.01223, allocations: 141.8 kB / 0.9876 GB, free: 11.46 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.01227, allocations: 15.91 kB / 0.9876 GB, free: 11.44 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001828/0.01245, allocations: 123.3 kB / 0.9877 GB, free: 11.32 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.01246, allocations: 0 / 0.9877 GB, free: 11.32 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.01246, allocations: 4 kB / 0.9877 GB, free: 11.31 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.01246, allocations: 0 / 0.9877 GB, free: 11.31 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.01264, allocations: 184.6 kB / 0.9879 GB, free: 11.09 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.01264, allocations: 4 kB / 0.9879 GB, free: 11.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.232e-05/0.01268, allocations: 12 kB / 0.9879 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.01268, allocations: 0 / 0.9879 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.01269, allocations: 3.984 kB / 0.9879 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.01269, allocations: 0 / 0.9879 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.01269, allocations: 4 kB / 0.9879 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.01286, allocations: 199.2 kB / 0.9881 GB, free: 10.86 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.843e-05/0.01288, allocations: 11.95 kB / 0.9881 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.01289, allocations: 4 kB / 0.9881 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.01302, allocations: 19.97 kB / 0.9881 GB, free: 10.82 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.486e-05/0.01304, allocations: 4 kB / 0.9881 GB, free: 10.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.01306, allocations: 19.97 kB / 0.9881 GB, free: 10.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 9.36e-05/0.01315, allocations: 153.5 kB / 0.9883 GB, free: 10.65 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01315, allocations: 0 / 0.9883 GB, free: 10.65 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002155/0.01337, allocations: 39.83 kB / 0.9883 GB, free: 10.61 MB / 0.948 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.0005225/0.01389, allocations: 0.7495 MB / 0.9891 GB, free: 9.836 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001642/0.01405, allocations: 71.83 kB / 0.9891 GB, free: 9.766 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.01406, allocations: 0 / 0.9891 GB, free: 9.766 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.61e-05/0.01408, allocations: 23.98 kB / 0.9892 GB, free: 9.742 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.01433, allocations: 17.45 kB / 0.9892 GB, free: 9.727 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.01587, allocations: 1.921 MB / 0.991 GB, free: 7.648 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.757e-05/0.01595, allocations: 122.2 kB / 0.9912 GB, free: 7.512 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 8.511e-05/0.01603, allocations: 49 kB / 0.9912 GB, free: 7.461 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.13e-05/0.01609, allocations: 52.41 kB / 0.9913 GB, free: 7.41 MB / 0.948 GB Notification: Performance of SimCode: time 7.11e-07/0.01609, allocations: 4 kB / 0.9913 GB, free: 7.406 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02026/0.03635, allocations: 5.028 MB / 0.9962 GB, free: 2.559 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.846/6.882, allocations: 15.56 kB / 0.9962 GB, free: 2.555 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 404 Buildings_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.fmu > Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 11.089631168171763] Failed to read output from testmodel.py, exit status != 0: 6.967069395817816 6.974744934 6.965424421 Calling exit ...