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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 108 kB / 15.61 MB, free: 152 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.001055/0.001055, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.277/1.277, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002074/0.002074, allocations: 287 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9118/0.9118, allocations: 169.2 MB / 0.4982 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001716, allocations: 101.9 kB / 0.5953 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1403, allocations: 86.97 MB / 0.6803 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002633/0.143, allocations: 1.477 MB / 0.6817 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.1444, allocations: 1.102 MB / 0.6828 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.98e-05/0.1445, allocations: 4 kB / 0.6828 GB, free: 14.01 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001803/0.1447, allocations: 27.84 kB / 0.6828 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.1448, allocations: 31.8 kB / 0.6829 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.145, allocations: 70.53 kB / 0.6829 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.1452, allocations: 143.6 kB / 0.6831 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.1454, allocations: 65.31 kB / 0.6831 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.166e-05/0.1455, allocations: 79.7 kB / 0.6832 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.1456, allocations: 59.69 kB / 0.6833 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.259e-05/0.1457, allocations: 12 kB / 0.6833 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.726e-05/0.1458, allocations: 24 kB / 0.6833 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.528e-05/0.1459, allocations: 51.88 kB / 0.6833 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.917e-05/0.1459, allocations: 75.58 kB / 0.6834 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.1462, allocations: 195.4 kB / 0.6836 GB, free: 13.2 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1462, allocations: 7.938 kB / 0.6836 GB, free: 13.19 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1462, allocations: 0 / 0.6836 GB, free: 13.19 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.1462, allocations: 4 kB / 0.6836 GB, free: 13.18 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007201/0.1469, allocations: 486.7 kB / 0.6841 GB, free: 12.66 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.147, allocations: 15.98 kB / 0.6841 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.669e-05/0.1471, allocations: 42.73 kB / 0.6841 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.932e-05/0.1471, allocations: 16.75 kB / 0.6842 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.1474, allocations: 255.8 kB / 0.6844 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.1476, allocations: 119.4 kB / 0.6845 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.1476, allocations: 8.375 kB / 0.6845 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.148, allocations: 161.5 kB / 0.6847 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.148, allocations: 0 / 0.6847 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.148, allocations: 3.984 kB / 0.6847 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.659e-05/0.148, allocations: 15.92 kB / 0.6847 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.527e-05/0.1481, allocations: 43.92 kB / 0.6847 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.1491, allocations: 460.3 kB / 0.6852 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.909e-05/0.1492, allocations: 46.5 kB / 0.6852 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.1493, allocations: 24.84 kB / 0.6852 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.1493, allocations: 0 / 0.6852 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.1493, allocations: 34.56 kB / 0.6853 GB, free: 11.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.1493, allocations: 0 / 0.6853 GB, free: 11.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002703/0.1496, allocations: 109.6 kB / 0.6854 GB, free: 11.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.1497, allocations: 55.34 kB / 0.6854 GB, free: 11.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.1499, allocations: 216.4 kB / 0.6856 GB, free: 10.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.1499, allocations: 29.7 kB / 0.6857 GB, free: 10.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.108e-05/0.15, allocations: 128.1 kB / 0.6858 GB, free: 10.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.15, allocations: 19.72 kB / 0.6858 GB, free: 10.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.15, allocations: 37.64 kB / 0.6858 GB, free: 10.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.248e-05/0.1501, allocations: 322.8 kB / 0.6861 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.328e-05/0.1502, allocations: 31.97 kB / 0.6862 GB, free: 10.31 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.146e-05/0.1503, allocations: 94.3 kB / 0.6863 GB, free: 10.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.1505, allocations: 142.1 kB / 0.6864 GB, free: 10 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1505, allocations: 4 kB / 0.6864 GB, free: 10 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002297/0.1507, allocations: 153.2 kB / 0.6866 GB, free: 9.844 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.1507, allocations: 8 kB / 0.6866 GB, free: 9.836 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.1507, allocations: 0 / 0.6866 GB, free: 9.836 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1508, allocations: 4.375 kB / 0.6866 GB, free: 9.832 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.751e-05/0.1509, allocations: 27.94 kB / 0.6866 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.1509, allocations: 11.92 kB / 0.6866 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.377e-05/0.1509, allocations: 15.84 kB / 0.6866 GB, free: 9.777 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.151, allocations: 8 kB / 0.6866 GB, free: 9.77 MB / 494.1 MB 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.0001061/0.1511, allocations: 145.7 kB / 0.6868 GB, free: 9.617 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.1511, allocations: 15.81 kB / 0.6868 GB, free: 9.602 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001989/0.1513, allocations: 107.2 kB / 0.6869 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1513, allocations: 4 kB / 0.6869 GB, free: 9.488 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1514, allocations: 3.938 kB / 0.6869 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1514, allocations: 3.984 kB / 0.6869 GB, free: 9.48 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.1516, allocations: 233.5 kB / 0.6871 GB, free: 9.203 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1516, allocations: 4 kB / 0.6871 GB, free: 9.199 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.889e-05/0.1516, allocations: 15.98 kB / 0.6871 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1517, allocations: 4 kB / 0.6871 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.1517, allocations: 4 kB / 0.6871 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1517, allocations: 0 / 0.6871 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1517, allocations: 7.875 kB / 0.6872 GB, free: 9.168 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.1519, allocations: 187.3 kB / 0.6873 GB, free: 8.969 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-05/0.1519, allocations: 85.02 kB / 0.6874 GB, free: 8.867 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.152, allocations: 11.92 kB / 0.6874 GB, free: 8.855 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.1522, allocations: 19.98 kB / 0.6874 GB, free: 8.836 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.1522, allocations: 7.922 kB / 0.6875 GB, free: 8.828 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.1523, allocations: 11.98 kB / 0.6875 GB, free: 8.816 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001328/0.1524, allocations: 165.5 kB / 0.6876 GB, free: 8.656 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1524, allocations: 4 kB / 0.6876 GB, free: 8.652 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002948/0.1527, allocations: 31.84 kB / 0.6877 GB, free: 8.621 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 (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.0004936/0.1532, allocations: 0.7507 MB / 0.6884 GB, free: 7.852 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001586/0.1534, allocations: 71.84 kB / 0.6885 GB, free: 7.781 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1534, allocations: 0 / 0.6885 GB, free: 7.781 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.96e-05/0.1534, allocations: 27.92 kB / 0.6885 GB, free: 7.754 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.1537, allocations: 36.81 kB / 0.6885 GB, free: 7.719 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.1555, allocations: 1.905 MB / 0.6904 GB, free: 5.656 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.1557, allocations: 0.7313 MB / 0.6911 GB, free: 4.898 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.1558, allocations: 56.81 kB / 0.6911 GB, free: 4.844 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.383e-05/0.1559, allocations: 47.42 kB / 0.6912 GB, free: 4.797 MB / 494.1 MB Notification: Performance of SimCode: time 4e-07/0.1559, allocations: 4 kB / 0.6912 GB, free: 4.793 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01996/0.1759, allocations: 4.184 MB / 0.6953 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.934/7.11, allocations: 0.625 kB / 0.6953 GB, free: 0.7422 MB / 494.1 MB (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)