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.004786/0.004786, allocations: 100.6 kB / 15.73 MB, free: 6.02 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.001262/0.001262, allocations: 189.8 kB / 16.67 MB, free: 5.938 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002489/0.002489, allocations: 282 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.207/1.207, allocations: 178.6 MB / 0.5074 GB, free: 12.68 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002726/0.002726, allocations: 103.8 kB / 0.6943 GB, free: 15.2 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.469/0.4717, allocations: 89.13 MB / 0.7813 GB, free: 1.121 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.002462/0.4742, allocations: 1.345 MB / 0.7827 GB, free: 72 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001532/0.4744, allocations: 36.73 kB / 0.7827 GB, free: 44 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.897e-05/0.4745, allocations: 0 / 0.7827 GB, free: 44 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.4747, allocations: 14.42 kB / 0.7827 GB, free: 32 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.4748, allocations: 15.83 kB / 0.7827 GB, free: 20 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 3.636e-06/0.4748, allocations: 0 / 0.7827 GB, free: 20 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.418e-05/0.4749, allocations: 22.61 kB / 0.7827 GB, free: 4 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.591e-05/0.4749, allocations: 5.062 kB / 0.7827 GB, free: 0 / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.094e-05/0.475, allocations: 3.625 kB / 0.7828 GB, free: 0 / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.097e-05/0.4751, allocations: 11.48 kB / 0.7828 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.4751, allocations: 0 / 0.7828 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.235e-05/0.4751, allocations: 14.69 kB / 0.7828 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.44e-05/0.4752, allocations: 6.047 kB / 0.7828 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.525e-05/0.4752, allocations: 6.281 kB / 0.7828 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.4753, allocations: 20.52 kB / 0.7828 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.4753, allocations: 5.438 kB / 0.7828 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4754, allocations: 0 / 0.7828 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.4754, allocations: 0 / 0.7828 GB, free: 15.96 MB / 0.5606 GB 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.0004167/0.4758, allocations: 340.8 kB / 0.7831 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.4758, allocations: 14.8 kB / 0.7832 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.551e-05/0.4759, allocations: 34.73 kB / 0.7832 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.576e-05/0.4759, allocations: 2.5 kB / 0.7832 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.4762, allocations: 184.5 kB / 0.7834 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.4762, allocations: 2.031 kB / 0.7834 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.174e-06/0.4762, allocations: 4.375 kB / 0.7834 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.849e-05/0.4763, allocations: 35.11 kB / 0.7834 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.4763, allocations: 3.938 kB / 0.7834 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.4763, allocations: 1.125 kB / 0.7834 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.4763, allocations: 1.156 kB / 0.7834 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.513e-05/0.4764, allocations: 7.234 kB / 0.7834 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002952/0.4767, allocations: 236.2 kB / 0.7836 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.342e-05/0.4767, allocations: 33.11 kB / 0.7837 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.955e-05/0.4768, allocations: 10.47 kB / 0.7837 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.4768, allocations: 0 / 0.7837 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.4768, allocations: 31.66 kB / 0.7837 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.4768, allocations: 0 / 0.7837 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001518/0.477, allocations: 38.2 kB / 0.7837 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.477, allocations: 51.41 kB / 0.7838 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.4772, allocations: 117.9 kB / 0.7839 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.4772, allocations: 26.92 kB / 0.7839 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.549e-05/0.4772, allocations: 93.27 kB / 0.784 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.171e-05/0.4773, allocations: 1.438 kB / 0.784 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.4773, allocations: 11.06 kB / 0.784 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.4774, allocations: 315.8 kB / 0.7843 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.276e-05/0.4775, allocations: 1.375 kB / 0.7843 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.337e-06/0.4775, allocations: 1.562 kB / 0.7843 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.864e-05/0.4775, allocations: 24.34 kB / 0.7844 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.4775, allocations: 5.125 kB / 0.7844 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.473e-05/0.4776, allocations: 36.42 kB / 0.7844 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.4776, allocations: 4.875 kB / 0.7844 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.4776, allocations: 0 / 0.7844 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.4776, allocations: 1.219 kB / 0.7844 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.514e-05/0.4777, allocations: 1.312 kB / 0.7844 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.4777, allocations: 5.281 kB / 0.7844 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.678e-05/0.4777, allocations: 3.953 kB / 0.7844 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.4777, allocations: 9.266 kB / 0.7844 GB, free: 14.17 MB / 0.5606 GB 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 9.03e-05/0.4778, allocations: 116 kB / 0.7845 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.4779, allocations: 1.531 kB / 0.7845 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.478, allocations: 39.12 kB / 0.7846 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.478, allocations: 1.562 kB / 0.7846 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.478, allocations: 0 / 0.7846 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.478, allocations: 0 / 0.7846 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.4782, allocations: 161.9 kB / 0.7847 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.4782, allocations: 5.156 kB / 0.7847 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.289e-05/0.4782, allocations: 1.562 kB / 0.7847 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.4782, allocations: 0 / 0.7847 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.431e-06/0.4782, allocations: 1.75 kB / 0.7847 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.4783, allocations: 3.938 kB / 0.7847 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4783, allocations: 0 / 0.7847 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.4784, allocations: 139 kB / 0.7849 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.4784, allocations: 78.52 kB / 0.785 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.4785, allocations: 5.188 kB / 0.785 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.995e-05/0.4785, allocations: 0 / 0.785 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/0.4785, allocations: 1.406 kB / 0.785 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.4785, allocations: 0 / 0.785 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.64e-05/0.4786, allocations: 92.14 kB / 0.785 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4786, allocations: 0 / 0.785 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002267/0.4788, allocations: 8.094 kB / 0.7851 GB, free: 13.47 MB / 0.5606 GB 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.0005481/0.4794, allocations: 0.6915 MB / 0.7857 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.697e-05/0.4795, allocations: 8.125 kB / 0.7857 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4795, allocations: 4.094 kB / 0.7857 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.339e-05/0.4795, allocations: 6.781 kB / 0.7857 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.4797, allocations: 4.25 kB / 0.7858 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.4808, allocations: 1.168 MB / 0.7869 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.4812, allocations: 0.6798 MB / 0.7876 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.044e-05/0.4812, allocations: 6.859 kB / 0.7876 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.4813, allocations: 8.719 kB / 0.7876 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of SimCode: time 2.7e-07/0.4813, allocations: 0 / 0.7876 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/0.5029, allocations: 1.401 MB / 0.7889 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/8.417, allocations: 10.73 kB / 0.7889 GB, free: 10.07 MB / 0.5606 GB (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)