Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007566/0.0007566, 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.0009734/0.0009734, 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.8679/0.8679, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001347/0.001347, allocations: 229.5 kB / 259.4 MB, free: 13.01 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6825/0.6825, allocations: 138.4 MB / 454.3 MB, free: 30.05 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.6463 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.121e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.001941/0.001962, allocations: 1.51 MB / 0.6477 GB, free: 372 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2281/0.2301, allocations: 1.197 MB / 0.6489 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.509e-05/0.2302, allocations: 4.75 kB / 0.6489 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.2303, allocations: 19.86 kB / 0.6489 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001671/0.2305, allocations: 40.7 kB / 0.649 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.2306, allocations: 60.28 kB / 0.649 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.2308, allocations: 151.8 kB / 0.6492 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.2309, allocations: 31.62 kB / 0.6492 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 9.684e-05/0.231, allocations: 108.5 kB / 0.6493 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.847e-05/0.2311, allocations: 44.33 kB / 0.6494 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.2311, allocations: 12 kB / 0.6494 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.831e-05/0.2312, allocations: 25.11 kB / 0.6494 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.315e-05/0.2312, allocations: 53.39 kB / 0.6494 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.715e-05/0.2313, allocations: 50.86 kB / 0.6495 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.2315, allocations: 215.8 kB / 0.6497 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2315, allocations: 0.6875 kB / 0.6497 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2315, allocations: 0.625 kB / 0.6497 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.2315, allocations: 0.9688 kB / 0.6497 GB, free: 55.81 MB / 0.5573 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.000431/0.232, allocations: 420 kB / 0.6501 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.232, allocations: 13.72 kB / 0.6501 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.895e-05/0.232, allocations: 40.25 kB / 0.6502 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.2321, allocations: 20.98 kB / 0.6502 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.2323, allocations: 212.5 kB / 0.6504 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.898e-05/0.2323, allocations: 223.9 kB / 0.6506 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.2323, allocations: 4.906 kB / 0.6506 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.2326, allocations: 265.9 kB / 0.6508 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.2326, allocations: 192 / 0.6508 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.2326, allocations: 5.812 kB / 0.6509 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.2326, allocations: 7.906 kB / 0.6509 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.658e-05/0.2327, allocations: 46.05 kB / 0.6509 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005569/0.2332, allocations: 401.1 kB / 0.6513 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.894e-05/0.2333, allocations: 38.03 kB / 0.6513 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.782e-05/0.2333, allocations: 24.7 kB / 0.6513 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.2333, allocations: 2.859 kB / 0.6513 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.2333, allocations: 33.84 kB / 0.6514 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 8.01e-07/0.2333, allocations: 0.7812 kB / 0.6514 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.0001826/0.2335, allocations: 110.3 kB / 0.6515 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.572e-05/0.2335, allocations: 55.12 kB / 0.6515 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.2337, allocations: 217.8 kB / 0.6517 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.2337, allocations: 30.98 kB / 0.6518 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.324e-05/0.2337, allocations: 121.7 kB / 0.6519 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.2337, allocations: 23.58 kB / 0.6519 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.2338, allocations: 31.52 kB / 0.6519 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.723e-05/0.2338, allocations: 336.7 kB / 0.6523 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.318e-05/0.2338, allocations: 25.05 kB / 0.6523 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.568e-05/0.2339, allocations: 100.9 kB / 0.6524 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.709e-05/0.234, allocations: 143.5 kB / 0.6525 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.234, allocations: 0 / 0.6525 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001387/0.2341, allocations: 155 kB / 0.6527 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.2341, allocations: 5.531 kB / 0.6527 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2342, allocations: 9.797 kB / 0.6527 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.2342, allocations: 5.438 kB / 0.6527 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.495e-05/0.2342, allocations: 25.66 kB / 0.6527 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2342, allocations: 4.219 kB / 0.6527 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.65e-05/0.2343, allocations: 18.73 kB / 0.6527 GB, free: 53.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.2343, allocations: 12.03 kB / 0.6527 GB, free: 53.59 MB / 0.5573 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 6.368e-05/0.2343, allocations: 138.9 kB / 0.6529 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.2344, allocations: 26.47 kB / 0.6529 GB, free: 53.46 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.2345, allocations: 112.3 kB / 0.653 GB, free: 53.43 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2345, allocations: 1.969 kB / 0.653 GB, free: 53.43 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2345, allocations: 0 / 0.653 GB, free: 53.43 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2345, allocations: 3.656 kB / 0.653 GB, free: 53.43 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.2346, allocations: 188.3 kB / 0.6532 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2346, allocations: 1.375 kB / 0.6532 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.532e-05/0.2347, allocations: 14.97 kB / 0.6532 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.51e-07/0.2347, allocations: 0 / 0.6532 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.2347, allocations: 3.312 kB / 0.6532 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2347, allocations: 2.797 kB / 0.6532 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.2347, allocations: 0 / 0.6532 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.873e-05/0.2348, allocations: 195.5 kB / 0.6534 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.236e-05/0.2348, allocations: 15.16 kB / 0.6534 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.2348, allocations: 0.625 kB / 0.6534 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.2349, allocations: 22.92 kB / 0.6534 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.408e-05/0.2349, allocations: 8.875 kB / 0.6535 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.2349, allocations: 13.45 kB / 0.6535 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.119e-05/0.235, allocations: 167.9 kB / 0.6536 GB, free: 53.03 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.235, allocations: 0 / 0.6536 GB, free: 53.03 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001829/0.2352, allocations: 35.05 kB / 0.6537 GB, free: 53.02 MB / 0.5573 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.0003061/0.2355, allocations: 0.7447 MB / 0.6544 GB, free: 52.34 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.2356, allocations: 73.73 kB / 0.6545 GB, free: 52.32 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2356, allocations: 0 / 0.6545 GB, free: 52.32 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.551e-05/0.2356, allocations: 22.31 kB / 0.6545 GB, free: 52.31 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.2358, allocations: 21.94 kB / 0.6545 GB, free: 52.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.2369, allocations: 1.921 MB / 0.6564 GB, free: 50.76 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.158e-05/0.237, allocations: 123.3 kB / 0.6565 GB, free: 50.68 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 7.665e-05/0.2371, allocations: 53.66 kB / 0.6565 GB, free: 50.68 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.2371, allocations: 46.48 kB / 0.6566 GB, free: 50.66 MB / 0.5573 GB Notification: Performance of SimCode: time 9.12e-07/0.2371, allocations: 0 / 0.6566 GB, free: 50.66 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01531/0.2524, allocations: 5.047 MB / 0.6615 GB, free: 49.57 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.325/6.577, allocations: 1.75 kB / 0.6615 GB, free: 49.57 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 404 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.20778098050505] Failed to read output from testmodel.py, exit status != 0: 6.6557184206321836 6.662230826 6.429388379 Calling exit ...