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.0009467/0.0009468, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009226/0.0009227, allocations: 191 kB / 16.25 MB, free: 6.629 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.229/1.229, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001913/0.001913, allocations: 286.7 kB / 290.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8729/0.8729, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 99.12 kB / 0.5948 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1282, allocations: 86.98 MB / 0.6797 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.002244/0.1305, allocations: 1.405 MB / 0.6811 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000124/0.1306, allocations: 41.02 kB / 0.6811 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.29e-05/0.1307, allocations: 3.938 kB / 0.6811 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.1308, allocations: 8 kB / 0.6812 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.877e-05/0.1309, allocations: 12.48 kB / 0.6812 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.945e-06/0.1309, allocations: 0 / 0.6812 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.247e-05/0.131, allocations: 21.64 kB / 0.6812 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.212e-05/0.131, allocations: 288 / 0.6812 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.25e-05/0.131, allocations: 7.938 kB / 0.6812 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.859e-05/0.1311, allocations: 7.984 kB / 0.6812 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.1311, allocations: 0.625 kB / 0.6812 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.581e-05/0.1311, allocations: 12 kB / 0.6812 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.01e-05/0.1312, allocations: 4.656 kB / 0.6812 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.764e-05/0.1312, allocations: 11.92 kB / 0.6812 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.811e-05/0.1313, allocations: 24.58 kB / 0.6812 GB, free: 15.42 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.1313, allocations: 0 / 0.6812 GB, free: 15.42 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1313, allocations: 2.438 kB / 0.6813 GB, free: 15.42 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1313, allocations: 3.938 kB / 0.6813 GB, free: 15.41 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.0002616/0.1315, allocations: 339.4 kB / 0.6816 GB, free: 15.03 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.1316, allocations: 8.031 kB / 0.6816 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.1316, allocations: 38.73 kB / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.955e-05/0.1316, allocations: 6.938 kB / 0.6816 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.1318, allocations: 172.4 kB / 0.6818 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.252e-06/0.1318, allocations: 384 / 0.6818 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.1318, allocations: 4.375 kB / 0.6818 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.724e-05/0.1319, allocations: 34.95 kB / 0.6818 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.261e-06/0.1319, allocations: 3.938 kB / 0.6818 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.939e-06/0.1319, allocations: 0.875 kB / 0.6818 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.1319, allocations: 0 / 0.6818 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.042e-05/0.1319, allocations: 12.64 kB / 0.6818 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002223/0.1322, allocations: 233.6 kB / 0.6821 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.595e-05/0.1322, allocations: 27.77 kB / 0.6821 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.4e-05/0.1322, allocations: 8.844 kB / 0.6821 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.1323, allocations: 0.8125 kB / 0.6821 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/0.1323, allocations: 34.56 kB / 0.6821 GB, free: 14.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.1323, allocations: 0 / 0.6821 GB, free: 14.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001132/0.1324, allocations: 41.61 kB / 0.6822 GB, free: 14.29 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.1324, allocations: 55.34 kB / 0.6822 GB, free: 14.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.273e-05/0.1325, allocations: 113.8 kB / 0.6823 GB, free: 14.11 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/0.1325, allocations: 29.7 kB / 0.6824 GB, free: 14.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.239e-05/0.1326, allocations: 88.12 kB / 0.6825 GB, free: 13.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.328e-06/0.1326, allocations: 4.062 kB / 0.6825 GB, free: 13.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.1326, allocations: 17.72 kB / 0.6825 GB, free: 13.95 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.797e-05/0.1327, allocations: 314.8 kB / 0.6828 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-06/0.1327, allocations: 0 / 0.6828 GB, free: 13.64 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.504e-06/0.1327, allocations: 4 kB / 0.6828 GB, free: 13.63 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.056e-05/0.1328, allocations: 16.78 kB / 0.6828 GB, free: 13.61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1328, allocations: 3.938 kB / 0.6828 GB, free: 13.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.461e-05/0.1328, allocations: 33.61 kB / 0.6828 GB, free: 13.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.1329, allocations: 12.09 kB / 0.6828 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.1329, allocations: 0 / 0.6828 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.597e-06/0.1329, allocations: 0 / 0.6828 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.365e-05/0.1329, allocations: 0 / 0.6828 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.1329, allocations: 0 / 0.6828 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.095e-05/0.1329, allocations: 4 kB / 0.6828 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-06/0.1329, allocations: 0 / 0.6828 GB, free: 13.55 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 6.295e-05/0.133, allocations: 118.4 kB / 0.683 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.133, allocations: 4 kB / 0.683 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.988e-05/0.1331, allocations: 49.09 kB / 0.683 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1331, allocations: 4 kB / 0.683 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1331, allocations: 0 / 0.683 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-06/0.1331, allocations: 0 / 0.683 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.1333, allocations: 157.6 kB / 0.6832 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1333, allocations: 4 kB / 0.6832 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.107e-05/0.1333, allocations: 0 / 0.6832 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.1333, allocations: 4 kB / 0.6832 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-06/0.1333, allocations: 0 / 0.6832 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1333, allocations: 0 / 0.6832 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.1333, allocations: 4.031 kB / 0.6832 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.242e-05/0.1334, allocations: 143.4 kB / 0.6833 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.967e-05/0.1334, allocations: 77.11 kB / 0.6834 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.337e-06/0.1335, allocations: 3.938 kB / 0.6834 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.187e-05/0.1335, allocations: 4 kB / 0.6834 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.039e-05/0.1335, allocations: 3.938 kB / 0.6834 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.1335, allocations: 0 / 0.6834 GB, free: 12.89 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.817e-05/0.1336, allocations: 99.59 kB / 0.6835 GB, free: 12.79 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1336, allocations: 0 / 0.6835 GB, free: 12.79 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002064/0.1338, allocations: 8 kB / 0.6835 GB, free: 12.79 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.0003721/0.1342, allocations: 0.6779 MB / 0.6842 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.677e-05/0.1342, allocations: 15.92 kB / 0.6842 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.1342, allocations: 0 / 0.6842 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.974e-06/0.1343, allocations: 0 / 0.6842 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.1344, allocations: 5.891 kB / 0.6842 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007873/0.1352, allocations: 1.183 MB / 0.6853 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002072/0.1355, allocations: 0.6768 MB / 0.686 GB, free: 10.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.816e-05/0.1355, allocations: 11.92 kB / 0.686 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.1355, allocations: 7.438 kB / 0.686 GB, free: 10.08 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1355, allocations: 0 / 0.686 GB, free: 10.08 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.514/1.649, allocations: 1.288 MB / 0.6873 GB, free: 8.91 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002269/1.65, allocations: 202.8 kB / 0.6875 GB, free: 8.656 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.901/3.55, allocations: 0 / 0.6875 GB, free: 8.656 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)