Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 196.2 kB / 16.53 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001992/0.001992, allocations: 283.2 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.925/0.925, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 100.2 kB / 0.5953 GB, free: 27.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1379, allocations: 86.98 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.00246/0.1404, allocations: 1.339 MB / 0.6816 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001357/0.1406, allocations: 39.77 kB / 0.6816 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.817e-05/0.1406, allocations: 0 / 0.6816 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.1408, allocations: 11.92 kB / 0.6816 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.1409, allocations: 16.7 kB / 0.6817 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.627e-06/0.1409, allocations: 0 / 0.6817 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.733e-05/0.141, allocations: 15.94 kB / 0.6817 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.843e-05/0.141, allocations: 5.938 kB / 0.6817 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.695e-05/0.141, allocations: 11.92 kB / 0.6817 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.415e-05/0.1411, allocations: 4 kB / 0.6817 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.1411, allocations: 3.984 kB / 0.6817 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.275e-05/0.1412, allocations: 12.88 kB / 0.6817 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.388e-05/0.1412, allocations: 3.938 kB / 0.6817 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.113e-05/0.1412, allocations: 13.05 kB / 0.6817 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.58e-05/0.1413, allocations: 23.92 kB / 0.6817 GB, free: 15.09 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1413, allocations: 3.984 kB / 0.6818 GB, free: 15.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1413, allocations: 0.9375 kB / 0.6818 GB, free: 15.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.1413, allocations: 0 / 0.6818 GB, free: 15.09 MB / 494.1 MB 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.0002949/0.1416, allocations: 339.9 kB / 0.6821 GB, free: 14.7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.1417, allocations: 12.03 kB / 0.6821 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.1417, allocations: 34.75 kB / 0.6821 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.272e-05/0.1417, allocations: 4.844 kB / 0.6821 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.1419, allocations: 172.4 kB / 0.6823 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.1419, allocations: 384 / 0.6823 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.1419, allocations: 4.359 kB / 0.6823 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.998e-05/0.142, allocations: 38.27 kB / 0.6823 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.142, allocations: 3.938 kB / 0.6823 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-06/0.142, allocations: 0 / 0.6823 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.1421, allocations: 3.984 kB / 0.6823 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.208e-05/0.1421, allocations: 11.94 kB / 0.6824 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000251/0.1424, allocations: 233 kB / 0.6826 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.741e-05/0.1424, allocations: 22.5 kB / 0.6826 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.678e-05/0.1424, allocations: 12.92 kB / 0.6826 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.1424, allocations: 0 / 0.6826 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.1425, allocations: 34.56 kB / 0.6826 GB, free: 14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 2.164e-06/0.1425, allocations: 0 / 0.6826 GB, free: 14 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000122/0.1426, allocations: 45.48 kB / 0.6827 GB, free: 13.95 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.1426, allocations: 51.41 kB / 0.6827 GB, free: 13.89 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.835e-05/0.1427, allocations: 117.8 kB / 0.6828 GB, free: 13.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.1428, allocations: 25.7 kB / 0.6829 GB, free: 13.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.506e-05/0.1428, allocations: 88.14 kB / 0.683 GB, free: 13.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.215e-05/0.1428, allocations: 3.938 kB / 0.683 GB, free: 13.64 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-05/0.1428, allocations: 13.84 kB / 0.683 GB, free: 13.62 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.283e-05/0.1429, allocations: 314.8 kB / 0.6833 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.348e-06/0.143, allocations: 0 / 0.6833 GB, free: 13.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.854e-06/0.143, allocations: 3.984 kB / 0.6833 GB, free: 13.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.711e-05/0.143, allocations: 12.86 kB / 0.6833 GB, free: 13.29 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.143, allocations: 7.875 kB / 0.6833 GB, free: 13.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.149e-05/0.1431, allocations: 37.61 kB / 0.6833 GB, free: 13.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.1431, allocations: 11.94 kB / 0.6833 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1431, allocations: 4.094 kB / 0.6833 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.1431, allocations: 0 / 0.6833 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.894e-05/0.1432, allocations: 3.984 kB / 0.6833 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.1432, allocations: 0 / 0.6833 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.189e-05/0.1432, allocations: 0 / 0.6833 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.1432, allocations: 4 kB / 0.6834 GB, free: 13.21 MB / 494.1 MB 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 5.597e-05/0.1433, allocations: 110.4 kB / 0.6835 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.1433, allocations: 4 kB / 0.6835 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.253e-05/0.1434, allocations: 49.16 kB / 0.6835 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.1434, allocations: 0 / 0.6835 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.1434, allocations: 0 / 0.6835 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.1434, allocations: 4 kB / 0.6835 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.1435, allocations: 157.6 kB / 0.6837 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1435, allocations: 0 / 0.6837 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.292e-05/0.1436, allocations: 4 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.1436, allocations: 0 / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1436, allocations: 4 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1436, allocations: 0 / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1436, allocations: 0 / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.206e-05/0.1437, allocations: 143.4 kB / 0.6838 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.576e-05/0.1437, allocations: 77.11 kB / 0.6839 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.1437, allocations: 0 / 0.6839 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.13e-05/0.1438, allocations: 7.875 kB / 0.6839 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.017e-06/0.1438, allocations: 4 kB / 0.6839 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.1438, allocations: 0 / 0.6839 GB, free: 12.56 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.728e-05/0.1439, allocations: 95.25 kB / 0.684 GB, free: 12.46 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1439, allocations: 4.031 kB / 0.684 GB, free: 12.46 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000224/0.1441, allocations: 4 kB / 0.684 GB, free: 12.46 MB / 494.1 MB 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.0004157/0.1445, allocations: 0.6838 MB / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.048e-05/0.1446, allocations: 7.938 kB / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1446, allocations: 0 / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.724e-06/0.1446, allocations: 7.938 kB / 0.6847 GB, free: 11.74 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.1448, allocations: 3.984 kB / 0.6847 GB, free: 11.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008512/0.1457, allocations: 1.179 MB / 0.6858 GB, free: 10.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.1459, allocations: 0.6768 MB / 0.6865 GB, free: 9.773 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.539e-05/0.146, allocations: 7.984 kB / 0.6865 GB, free: 9.766 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.945e-05/0.146, allocations: 15.44 kB / 0.6865 GB, free: 9.75 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.146, allocations: 0 / 0.6865 GB, free: 9.75 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01487/0.1609, allocations: 1.359 MB / 0.6878 GB, free: 8.465 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.88/7.041, allocations: 9.703 kB / 0.6878 GB, free: 8.457 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 100 BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)