Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.005088/0.005088, allocations: 101.7 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.001381/0.001381, allocations: 196.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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002563/0.002563, allocations: 301.8 kB / 290.8 MB, free: 1.77 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.061/1.061, allocations: 178.6 MB / 0.5074 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002731/0.002731, allocations: 103.8 kB / 0.6943 GB, free: 3.582 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4315/0.4342, allocations: 89.13 MB / 0.7813 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002668/0.4369, allocations: 1.604 MB / 0.7829 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009085/0.4378, allocations: 0.5506 MB / 0.7834 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.546e-05/0.4379, allocations: 1.25 kB / 0.7834 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.397e-05/0.4379, allocations: 6.141 kB / 0.7835 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002339/0.4382, allocations: 36.94 kB / 0.7835 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001207/0.4383, allocations: 46.89 kB / 0.7835 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.4385, allocations: 106.1 kB / 0.7836 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.968e-05/0.4386, allocations: 19.45 kB / 0.7837 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.4387, allocations: 49.69 kB / 0.7837 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.4388, allocations: 49.48 kB / 0.7837 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.4388, allocations: 8.031 kB / 0.7838 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.002e-05/0.4389, allocations: 12.25 kB / 0.7838 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.923e-05/0.4389, allocations: 24.84 kB / 0.7838 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.112e-05/0.439, allocations: 42.55 kB / 0.7838 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.4391, allocations: 94.08 kB / 0.7839 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.4392, allocations: 3.938 kB / 0.7839 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.283e-06/0.4392, allocations: 0 / 0.7839 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.4392, allocations: 0 / 0.7839 GB, free: 12.11 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007495/0.4399, allocations: 414.9 kB / 0.7843 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.44, allocations: 10.78 kB / 0.7843 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.337e-05/0.44, allocations: 41.97 kB / 0.7844 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.4401, allocations: 8.984 kB / 0.7844 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.4402, allocations: 182 kB / 0.7846 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.4403, allocations: 7.562 kB / 0.7846 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.4403, allocations: 6.203 kB / 0.7846 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.4405, allocations: 84.77 kB / 0.7846 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.4405, allocations: 0 / 0.7846 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.4405, allocations: 13.17 kB / 0.7847 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.4405, allocations: 2.125 kB / 0.7847 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.4406, allocations: 48.53 kB / 0.7847 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005163/0.4411, allocations: 341.3 kB / 0.785 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/0.4414, allocations: 110.4 kB / 0.7851 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.472e-05/0.4415, allocations: 41.95 kB / 0.7852 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.4416, allocations: 0.9375 kB / 0.7852 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000202/0.4418, allocations: 99.44 kB / 0.7853 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.4418, allocations: 1.25 kB / 0.7853 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0003384/0.4421, allocations: 149.4 kB / 0.7854 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.4422, allocations: 51.41 kB / 0.7855 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.4423, allocations: 133.5 kB / 0.7856 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.4423, allocations: 26.36 kB / 0.7856 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.4424, allocations: 93.8 kB / 0.7857 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.927e-05/0.4425, allocations: 39.17 kB / 0.7857 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.233e-05/0.4425, allocations: 24.61 kB / 0.7858 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.4427, allocations: 320.3 kB / 0.7861 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.098e-05/0.4427, allocations: 33.36 kB / 0.7861 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.794e-05/0.4428, allocations: 30.62 kB / 0.7861 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.4429, allocations: 78.52 kB / 0.7862 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4429, allocations: 1.344 kB / 0.7862 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001899/0.4431, allocations: 106.2 kB / 0.7863 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.4432, allocations: 6.297 kB / 0.7863 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.4432, allocations: 0 / 0.7863 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.4432, allocations: 1.5 kB / 0.7863 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.4433, allocations: 17.22 kB / 0.7863 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.4433, allocations: 5.094 kB / 0.7863 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.4434, allocations: 18.58 kB / 0.7864 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.4435, allocations: 9.062 kB / 0.7864 GB, free: 10.03 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: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.623e-05/0.4436, allocations: 122.5 kB / 0.7865 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/0.4436, allocations: 8.531 kB / 0.7865 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002905/0.4439, allocations: 147.1 kB / 0.7866 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4439, allocations: 1.156 kB / 0.7866 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.4439, allocations: 1.188 kB / 0.7866 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.4439, allocations: 9.234 kB / 0.7866 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.4441, allocations: 208.8 kB / 0.7868 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4441, allocations: 1.469 kB / 0.7868 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.395e-05/0.4442, allocations: 22.25 kB / 0.7869 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4442, allocations: 2.234 kB / 0.7869 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.4443, allocations: 0.7969 kB / 0.7869 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.4443, allocations: 1.859 kB / 0.7869 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4443, allocations: 1.156 kB / 0.7869 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.4445, allocations: 161 kB / 0.787 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.99e-05/0.4446, allocations: 89.28 kB / 0.7871 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.4446, allocations: 11.45 kB / 0.7871 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.4448, allocations: 9.25 kB / 0.7871 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.4448, allocations: 19.2 kB / 0.7872 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.4448, allocations: 4.078 kB / 0.7872 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.891e-05/0.4449, allocations: 99.09 kB / 0.7872 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4449, allocations: 0 / 0.7872 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002072/0.4451, allocations: 20.06 kB / 0.7873 GB, free: 9.289 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: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005842/0.4457, allocations: 0.7021 MB / 0.788 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001944/0.4459, allocations: 92.42 kB / 0.788 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4459, allocations: 1.438 kB / 0.788 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.446, allocations: 50.64 kB / 0.7881 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.4462, allocations: 14.88 kB / 0.7881 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.4478, allocations: 1.443 MB / 0.7895 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.4481, allocations: 0.7069 MB / 0.7902 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.763e-05/0.4482, allocations: 12.81 kB / 0.7902 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.253e-05/0.4483, allocations: 29.3 kB / 0.7902 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.4483, allocations: 0 / 0.7902 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/0.4712, allocations: 2.325 MB / 0.7925 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.689/8.161, allocations: 11.61 kB / 0.7925 GB, free: 6.207 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)