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.001161/0.001161, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 192.2 kB / 16.13 MB, free: 6.715 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.201/1.201, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001929/0.001929, allocations: 283.1 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8526/0.8526, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 96.52 kB / 0.5946 GB, free: 28.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1336, allocations: 86.97 MB / 0.6795 GB, free: 1.109 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002492/0.1361, allocations: 1.534 MB / 0.681 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.1373, allocations: 1.086 MB / 0.6821 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.572e-05/0.1373, allocations: 0 / 0.6821 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.1375, allocations: 11.94 kB / 0.6821 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.1376, allocations: 35.84 kB / 0.6821 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.1378, allocations: 58.78 kB / 0.6822 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.1379, allocations: 143.5 kB / 0.6823 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.1381, allocations: 61.31 kB / 0.6824 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.162e-05/0.1381, allocations: 71.75 kB / 0.6825 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.1383, allocations: 67.64 kB / 0.6825 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.015e-05/0.1383, allocations: 8 kB / 0.6825 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.439e-05/0.1384, allocations: 23.98 kB / 0.6826 GB, free: 14.01 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.463e-05/0.1385, allocations: 43.88 kB / 0.6826 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.601e-05/0.1386, allocations: 75.52 kB / 0.6827 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.1388, allocations: 183.4 kB / 0.6829 GB, free: 13.71 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.1388, allocations: 0 / 0.6829 GB, free: 13.71 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.1388, allocations: 0 / 0.6829 GB, free: 13.71 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.1388, allocations: 0 / 0.6829 GB, free: 13.71 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.0005895/0.1394, allocations: 0.4909 MB / 0.6833 GB, free: 13.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.1394, allocations: 8.031 kB / 0.6833 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.699e-05/0.1395, allocations: 38.75 kB / 0.6834 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.621e-05/0.1395, allocations: 16.75 kB / 0.6834 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.1398, allocations: 259.8 kB / 0.6836 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.1399, allocations: 119.4 kB / 0.6838 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.1399, allocations: 4.375 kB / 0.6838 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.1402, allocations: 164 kB / 0.6839 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.483e-06/0.1403, allocations: 0 / 0.6839 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.1403, allocations: 8 kB / 0.6839 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.1403, allocations: 4 kB / 0.6839 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.495e-05/0.1404, allocations: 43.91 kB / 0.684 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008931/0.1413, allocations: 464.3 kB / 0.6844 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.846e-05/0.1413, allocations: 38.5 kB / 0.6844 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.816e-05/0.1414, allocations: 28.84 kB / 0.6845 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.1414, allocations: 8 kB / 0.6845 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.1414, allocations: 30.56 kB / 0.6845 GB, free: 11.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.1415, allocations: 0 / 0.6845 GB, free: 11.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.000229/0.1417, allocations: 97.58 kB / 0.6846 GB, free: 11.72 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.1417, allocations: 59.48 kB / 0.6847 GB, free: 11.65 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.1419, allocations: 216.4 kB / 0.6849 GB, free: 11.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.1419, allocations: 33.64 kB / 0.6849 GB, free: 11.39 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.975e-05/0.142, allocations: 132.1 kB / 0.685 GB, free: 11.26 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.142, allocations: 27.64 kB / 0.6851 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.1421, allocations: 29.64 kB / 0.6851 GB, free: 11.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.179e-05/0.1422, allocations: 326.8 kB / 0.6854 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.804e-05/0.1422, allocations: 27.98 kB / 0.6854 GB, free: 10.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.534e-05/0.1423, allocations: 98.28 kB / 0.6855 GB, free: 10.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.1425, allocations: 146.1 kB / 0.6857 GB, free: 10.53 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1425, allocations: 0 / 0.6857 GB, free: 10.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002093/0.1427, allocations: 153.2 kB / 0.6858 GB, free: 10.37 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.1427, allocations: 8 kB / 0.6858 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1427, allocations: 4 kB / 0.6858 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1428, allocations: 4 kB / 0.6858 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.552e-05/0.1428, allocations: 19.98 kB / 0.6858 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.1429, allocations: 12.25 kB / 0.6858 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.717e-05/0.1429, allocations: 15.84 kB / 0.6859 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.1429, allocations: 15.98 kB / 0.6859 GB, free: 10.29 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 9.72e-05/0.143, allocations: 137.8 kB / 0.686 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.358e-05/0.1431, allocations: 19.8 kB / 0.686 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001866/0.1433, allocations: 111.2 kB / 0.6861 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1433, allocations: 0 / 0.6861 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.1433, allocations: 7.938 kB / 0.6861 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1433, allocations: 4 kB / 0.6861 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.1435, allocations: 237.5 kB / 0.6864 GB, free: 9.723 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1435, allocations: 0 / 0.6864 GB, free: 9.723 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.458e-05/0.1436, allocations: 15.98 kB / 0.6864 GB, free: 9.707 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.1436, allocations: 0 / 0.6864 GB, free: 9.707 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.1436, allocations: 0 / 0.6864 GB, free: 9.707 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.1436, allocations: 0 / 0.6864 GB, free: 9.707 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.1436, allocations: 8.266 kB / 0.6864 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.1438, allocations: 199.3 kB / 0.6866 GB, free: 9.488 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-05/0.1438, allocations: 93 kB / 0.6867 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.1439, allocations: 0 / 0.6867 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.1441, allocations: 23.97 kB / 0.6867 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.1441, allocations: 7.938 kB / 0.6867 GB, free: 9.348 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/0.1442, allocations: 11.97 kB / 0.6867 GB, free: 9.336 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001192/0.1443, allocations: 165.5 kB / 0.6869 GB, free: 9.176 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1443, allocations: 0 / 0.6869 GB, free: 9.176 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002766/0.1446, allocations: 31.84 kB / 0.6869 GB, free: 9.145 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.0004646/0.145, allocations: 0.7465 MB / 0.6876 GB, free: 8.375 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001314/0.1452, allocations: 67.78 kB / 0.6877 GB, free: 8.309 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1452, allocations: 4 kB / 0.6877 GB, free: 8.305 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.987e-05/0.1452, allocations: 31.97 kB / 0.6877 GB, free: 8.273 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.1455, allocations: 15.94 kB / 0.6877 GB, free: 8.258 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.1471, allocations: 1.954 MB / 0.6897 GB, free: 6.148 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.1474, allocations: 0.7317 MB / 0.6904 GB, free: 5.391 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.1475, allocations: 48.89 kB / 0.6904 GB, free: 5.344 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.049e-05/0.1476, allocations: 47.42 kB / 0.6905 GB, free: 5.297 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.1476, allocations: 0 / 0.6905 GB, free: 5.297 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.469/1.616, allocations: 4.034 MB / 0.6944 GB, free: 1.418 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/1.617, allocations: 216.1 kB / 0.6946 GB, free: 1.164 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.567/4.184, allocations: 4 kB / 0.6946 GB, free: 1.16 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1)