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.001254/0.001253, 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.001321/0.001321, allocations: 192.4 kB / 16.13 MB, free: 6.707 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.226/1.226, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001943/0.001943, allocations: 278.5 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.879/0.879, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 100.1 kB / 0.5946 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1252, allocations: 86.97 MB / 0.6795 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.002179/0.1274, allocations: 1.4 MB / 0.6809 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001229/0.1276, allocations: 43.77 kB / 0.6809 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.091e-05/0.1276, allocations: 0.875 kB / 0.6809 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.1277, allocations: 11.92 kB / 0.681 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.052e-05/0.1278, allocations: 16.52 kB / 0.681 GB, free: 15.63 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.204e-06/0.1278, allocations: 0 / 0.681 GB, free: 15.63 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.465e-05/0.1279, allocations: 9.156 kB / 0.681 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.191e-05/0.1279, allocations: 4.281 kB / 0.681 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.092e-05/0.128, allocations: 7.938 kB / 0.681 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.506e-05/0.128, allocations: 8.828 kB / 0.681 GB, free: 15.6 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.128, allocations: 0 / 0.681 GB, free: 15.6 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.527e-05/0.1281, allocations: 12.52 kB / 0.681 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.091e-05/0.1281, allocations: 15.88 kB / 0.681 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.714e-05/0.1281, allocations: 7.938 kB / 0.681 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.679e-05/0.1282, allocations: 27.91 kB / 0.6811 GB, free: 15.54 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1282, allocations: 0 / 0.6811 GB, free: 15.54 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.1282, allocations: 0 / 0.6811 GB, free: 15.54 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.405e-06/0.1282, allocations: 4 kB / 0.6811 GB, free: 15.54 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.0002498/0.1285, allocations: 333.3 kB / 0.6814 GB, free: 15.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.802e-05/0.1285, allocations: 12.03 kB / 0.6814 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.837e-05/0.1285, allocations: 30.75 kB / 0.6814 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.085e-05/0.1286, allocations: 4.844 kB / 0.6814 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.1287, allocations: 180.4 kB / 0.6816 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.691e-06/0.1287, allocations: 384 / 0.6816 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.663e-06/0.1287, allocations: 4.375 kB / 0.6816 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.431e-05/0.1288, allocations: 30.27 kB / 0.6816 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.1288, allocations: 3.938 kB / 0.6816 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.019e-06/0.1288, allocations: 0 / 0.6816 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.1288, allocations: 11.92 kB / 0.6817 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.844e-05/0.1288, allocations: 3.984 kB / 0.6817 GB, free: 14.83 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002094/0.1291, allocations: 241 kB / 0.6819 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.373e-05/0.1291, allocations: 26.5 kB / 0.6819 GB, free: 14.51 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.243e-05/0.1291, allocations: 4.859 kB / 0.6819 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.1291, allocations: 0 / 0.6819 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.1292, allocations: 38.56 kB / 0.682 GB, free: 14.46 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 2.164e-06/0.1292, allocations: 0 / 0.682 GB, free: 14.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000105/0.1293, allocations: 45.67 kB / 0.682 GB, free: 14.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/0.1293, allocations: 55.41 kB / 0.682 GB, free: 14.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.755e-05/0.1294, allocations: 117.8 kB / 0.6822 GB, free: 14.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.1294, allocations: 25.7 kB / 0.6822 GB, free: 14.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.868e-05/0.1294, allocations: 84.12 kB / 0.6823 GB, free: 14.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.596e-06/0.1295, allocations: 3.938 kB / 0.6823 GB, free: 14.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.1295, allocations: 17.72 kB / 0.6823 GB, free: 14.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.942e-05/0.1296, allocations: 310.8 kB / 0.6826 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.09e-05/0.1296, allocations: 8 kB / 0.6826 GB, free: 13.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.173e-06/0.1296, allocations: 3.938 kB / 0.6826 GB, free: 13.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.966e-05/0.1296, allocations: 16.78 kB / 0.6826 GB, free: 13.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.1296, allocations: 3.938 kB / 0.6826 GB, free: 13.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.992e-05/0.1297, allocations: 41.61 kB / 0.6827 GB, free: 13.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.1297, allocations: 4 kB / 0.6827 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-06/0.1297, allocations: 0 / 0.6827 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.246e-06/0.1297, allocations: 0 / 0.6827 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.439e-05/0.1298, allocations: 4 kB / 0.6827 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.1298, allocations: 4.094 kB / 0.6827 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.187e-05/0.1298, allocations: 3.984 kB / 0.6827 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.1298, allocations: 0 / 0.6827 GB, free: 13.66 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.378e-05/0.1298, allocations: 114.4 kB / 0.6828 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.1299, allocations: 0 / 0.6828 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.881e-05/0.1299, allocations: 49.16 kB / 0.6828 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.13, allocations: 0 / 0.6828 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.13, allocations: 0 / 0.6828 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-06/0.13, allocations: 32 / 0.6828 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.1301, allocations: 161.6 kB / 0.683 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1301, allocations: 0 / 0.683 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.33e-05/0.1301, allocations: 4 kB / 0.683 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.1301, allocations: 0 / 0.683 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-06/0.1301, allocations: 0 / 0.683 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.1301, allocations: 0 / 0.683 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1301, allocations: 0 / 0.683 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.717e-05/0.1302, allocations: 147.3 kB / 0.6831 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.028e-05/0.1303, allocations: 81.11 kB / 0.6832 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.1303, allocations: 4 kB / 0.6832 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.895e-05/0.1303, allocations: 3.938 kB / 0.6832 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.343e-06/0.1303, allocations: 0 / 0.6832 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.1303, allocations: 0 / 0.6832 GB, free: 13.01 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.23e-05/0.1304, allocations: 91.27 kB / 0.6833 GB, free: 12.92 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1304, allocations: 0 / 0.6833 GB, free: 12.92 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000215/0.1306, allocations: 4 kB / 0.6833 GB, free: 12.91 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.0003486/0.131, allocations: 0.6879 MB / 0.684 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 4.633e-05/0.131, allocations: 11.97 kB / 0.684 GB, free: 12.19 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.131, allocations: 0 / 0.684 GB, free: 12.19 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.023e-05/0.131, allocations: 8 kB / 0.684 GB, free: 12.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.1312, allocations: 0 / 0.684 GB, free: 12.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007502/0.132, allocations: 1.177 MB / 0.6851 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.1322, allocations: 0.677 MB / 0.6858 GB, free: 10.22 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.46e-05/0.1322, allocations: 7.984 kB / 0.6858 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.1322, allocations: 19.47 kB / 0.6858 GB, free: 10.2 MB / 494.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1322, allocations: 0 / 0.6858 GB, free: 10.2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2817/0.4139, allocations: 1.264 MB / 0.6871 GB, free: 9.031 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/0.4142, allocations: 198.5 kB / 0.6872 GB, free: 8.781 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/2.044, allocations: 0 / 0.6872 GB, free: 8.781 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)