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.00785/0.00785, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001743/0.001743, allocations: 197.5 kB / 16.68 MB, free: 5.969 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.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002098/0.002098, allocations: 289.6 kB / 290.8 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8995/0.8995, allocations: 169.3 MB / 0.4983 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 91.86 kB / 0.681 GB, free: 7.504 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4278/0.4298, allocations: 86.98 MB / 0.7659 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.0023/0.4321, allocations: 1.352 MB / 0.7672 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001353/0.4323, allocations: 39.81 kB / 0.7673 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.658e-05/0.4323, allocations: 0 / 0.7673 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001377/0.4324, allocations: 7.938 kB / 0.7673 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.843e-05/0.4326, allocations: 15.91 kB / 0.7673 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.496e-06/0.4326, allocations: 0 / 0.7673 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.72e-05/0.4326, allocations: 19.88 kB / 0.7673 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.4327, allocations: 11.5 kB / 0.7673 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.22e-05/0.4327, allocations: 4 kB / 0.7673 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.294e-05/0.4327, allocations: 7.938 kB / 0.7673 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.4328, allocations: 0 / 0.7673 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.56e-05/0.4328, allocations: 23.98 kB / 0.7674 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.49e-05/0.4329, allocations: 0 / 0.7674 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.106e-05/0.4329, allocations: 11.92 kB / 0.7674 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.186e-05/0.433, allocations: 19.92 kB / 0.7674 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.433, allocations: 0 / 0.7674 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.362e-06/0.433, allocations: 0 / 0.7674 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.705e-06/0.433, allocations: 0 / 0.7674 GB, free: 2.367 MB / 0.5294 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.000308/0.4333, allocations: 337 kB / 0.7677 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.4334, allocations: 12.03 kB / 0.7677 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.549e-05/0.4334, allocations: 34.7 kB / 0.7677 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.357e-05/0.4334, allocations: 4.938 kB / 0.7678 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.4336, allocations: 184.2 kB / 0.7679 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.4336, allocations: 4.375 kB / 0.7679 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.732e-06/0.4336, allocations: 384 / 0.7679 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.395e-05/0.4337, allocations: 42.19 kB / 0.768 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.4337, allocations: 7.938 kB / 0.768 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.4337, allocations: 0 / 0.768 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.4338, allocations: 4 kB / 0.768 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.928e-05/0.4338, allocations: 0 / 0.768 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002619/0.4341, allocations: 241 kB / 0.7682 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.222e-05/0.4341, allocations: 30.45 kB / 0.7682 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.613e-05/0.4341, allocations: 4.859 kB / 0.7682 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.4342, allocations: 0 / 0.7682 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.4342, allocations: 34.62 kB / 0.7683 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.4342, allocations: 0 / 0.7683 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001348/0.4343, allocations: 41.62 kB / 0.7683 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.4344, allocations: 55.41 kB / 0.7684 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.105e-05/0.4345, allocations: 113.8 kB / 0.7685 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.4345, allocations: 25.7 kB / 0.7685 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.4345, allocations: 84.14 kB / 0.7686 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.236e-05/0.4345, allocations: 3.953 kB / 0.7686 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.4346, allocations: 13.72 kB / 0.7686 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.205e-05/0.4347, allocations: 319 kB / 0.7689 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.485e-05/0.4347, allocations: 8 kB / 0.7689 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.462e-06/0.4347, allocations: 3.938 kB / 0.7689 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.033e-05/0.4347, allocations: 8.859 kB / 0.7689 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4347, allocations: 3.938 kB / 0.7689 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.819e-05/0.4348, allocations: 41.62 kB / 0.769 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.4348, allocations: 4 kB / 0.769 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.4348, allocations: 0 / 0.769 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.4348, allocations: 96 / 0.769 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.425e-05/0.4349, allocations: 8 kB / 0.769 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.4349, allocations: 0 / 0.769 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.246e-05/0.4349, allocations: 0 / 0.769 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.4349, allocations: 0 / 0.769 GB, free: 0.4961 MB / 0.5294 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 6.604e-05/0.435, allocations: 117.8 kB / 0.7691 GB, free: 380 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.435, allocations: 7.938 kB / 0.7691 GB, free: 372 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.791e-05/0.4351, allocations: 41.22 kB / 0.7691 GB, free: 324 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.4351, allocations: 0 / 0.7691 GB, free: 324 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4351, allocations: 4.031 kB / 0.7691 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.4351, allocations: 3.938 kB / 0.7691 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.4353, allocations: 161.5 kB / 0.7693 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.4353, allocations: 0 / 0.7693 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.488e-05/0.4353, allocations: 7.984 kB / 0.7693 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4353, allocations: 0 / 0.7693 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.4353, allocations: 0 / 0.7693 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.4353, allocations: 0 / 0.7693 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4353, allocations: 0 / 0.7693 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.856e-05/0.4354, allocations: 135.6 kB / 0.7694 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.24e-05/0.4355, allocations: 85.05 kB / 0.7695 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.4355, allocations: 4 kB / 0.7695 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.441e-05/0.4355, allocations: 4 kB / 0.7695 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.378e-06/0.4355, allocations: 0 / 0.7695 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/0.4356, allocations: 0 / 0.7695 GB, free: 15.83 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.999e-05/0.4356, allocations: 91.27 kB / 0.7696 GB, free: 15.74 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4356, allocations: 0 / 0.7696 GB, free: 15.74 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002359/0.4359, allocations: 4 kB / 0.7696 GB, free: 15.74 MB / 0.545 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.0004258/0.4363, allocations: 0.701 MB / 0.7703 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.041e-05/0.4364, allocations: 4 kB / 0.7703 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4364, allocations: 0 / 0.7703 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.031e-05/0.4364, allocations: 7.938 kB / 0.7703 GB, free: 15.01 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.4366, allocations: 2.5 kB / 0.7703 GB, free: 15.01 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008327/0.4374, allocations: 1.172 MB / 0.7715 GB, free: 13.76 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.4376, allocations: 0.6807 MB / 0.7721 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.055e-05/0.4377, allocations: 4 kB / 0.7721 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.776e-05/0.4377, allocations: 15.45 kB / 0.7721 GB, free: 13.03 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.4378, allocations: 3.938 kB / 0.7721 GB, free: 13.03 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01641/0.4542, allocations: 1.39 MB / 0.7735 GB, free: 11.73 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.633/8.087, allocations: 6.281 kB / 0.7735 GB, free: 11.73 MB / 0.545 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)