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.001075/0.001075, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 194.4 kB / 16.53 MB, free: 6.66 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.293/1.293, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002063/0.002063, allocations: 294.8 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9202/0.9202, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 93.84 kB / 0.5954 GB, free: 27.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1328, allocations: 86.98 MB / 0.6803 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002449/0.1353, allocations: 1.601 MB / 0.6819 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007753/0.1361, allocations: 0.5341 MB / 0.6824 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.587e-05/0.1361, allocations: 7.938 kB / 0.6824 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.718e-05/0.1362, allocations: 7.875 kB / 0.6824 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.1364, allocations: 41.78 kB / 0.6824 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001008/0.1365, allocations: 35.89 kB / 0.6825 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.1366, allocations: 115.6 kB / 0.6826 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.139e-05/0.1367, allocations: 22.28 kB / 0.6826 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.127e-05/0.1368, allocations: 43.84 kB / 0.6826 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.633e-05/0.1369, allocations: 56.62 kB / 0.6827 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.137, allocations: 8 kB / 0.6827 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.091e-05/0.137, allocations: 8 kB / 0.6827 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.643e-05/0.137, allocations: 20.64 kB / 0.6827 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.434e-05/0.1371, allocations: 56.39 kB / 0.6828 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.1372, allocations: 79.75 kB / 0.6829 GB, free: 13.97 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1372, allocations: 5.344 kB / 0.6829 GB, free: 13.96 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1372, allocations: 0 / 0.6829 GB, free: 13.96 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.1372, allocations: 0 / 0.6829 GB, free: 13.96 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006839/0.1379, allocations: 403.9 kB / 0.6833 GB, free: 13.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.138, allocations: 8.031 kB / 0.6833 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.643e-05/0.138, allocations: 42.73 kB / 0.6833 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.1381, allocations: 8.844 kB / 0.6833 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.1382, allocations: 184.2 kB / 0.6835 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.1382, allocations: 384 / 0.6835 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.1382, allocations: 8.375 kB / 0.6835 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.1384, allocations: 91.95 kB / 0.6836 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.1384, allocations: 4 kB / 0.6836 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1384, allocations: 4 kB / 0.6836 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1384, allocations: 0 / 0.6836 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.1386, allocations: 47.97 kB / 0.6836 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004503/0.139, allocations: 344.5 kB / 0.684 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.1393, allocations: 114.7 kB / 0.6841 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.8e-05/0.1394, allocations: 40.84 kB / 0.6841 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.1394, allocations: 0 / 0.6841 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001853/0.1396, allocations: 99.28 kB / 0.6842 GB, free: 12.42 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.1396, allocations: 0 / 0.6842 GB, free: 12.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002986/0.1399, allocations: 153.5 kB / 0.6844 GB, free: 12.27 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.1399, allocations: 55.39 kB / 0.6844 GB, free: 12.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.824e-05/0.14, allocations: 122.2 kB / 0.6845 GB, free: 12.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.1401, allocations: 25.7 kB / 0.6845 GB, free: 12.04 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/0.1401, allocations: 104.2 kB / 0.6846 GB, free: 11.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.1402, allocations: 31.64 kB / 0.6847 GB, free: 11.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-05/0.1402, allocations: 29.7 kB / 0.6847 GB, free: 11.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.971e-05/0.1403, allocations: 322.8 kB / 0.685 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.389e-05/0.1404, allocations: 27.98 kB / 0.685 GB, free: 11.51 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.443e-05/0.1405, allocations: 31.98 kB / 0.6851 GB, free: 11.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.1406, allocations: 62.11 kB / 0.6851 GB, free: 11.42 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1406, allocations: 0 / 0.6851 GB, free: 11.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000171/0.1408, allocations: 112.5 kB / 0.6852 GB, free: 11.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.1408, allocations: 11.98 kB / 0.6852 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1408, allocations: 0 / 0.6852 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.1408, allocations: 0 / 0.6852 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.1409, allocations: 19.98 kB / 0.6853 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1409, allocations: 4 kB / 0.6853 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.141, allocations: 15.94 kB / 0.6853 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.1411, allocations: 4 kB / 0.6853 GB, free: 11.25 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: 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 8.112e-05/0.1412, allocations: 123.1 kB / 0.6854 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.1412, allocations: 11.89 kB / 0.6854 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002548/0.1414, allocations: 146 kB / 0.6856 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1414, allocations: 0 / 0.6856 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1415, allocations: 0 / 0.6856 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1415, allocations: 11.94 kB / 0.6856 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.1416, allocations: 217.4 kB / 0.6858 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1416, allocations: 0 / 0.6858 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.911e-05/0.1417, allocations: 16 kB / 0.6858 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.1417, allocations: 0 / 0.6858 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.1418, allocations: 3.938 kB / 0.6858 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.1418, allocations: 3.984 kB / 0.6858 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1418, allocations: 4 kB / 0.6858 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.142, allocations: 168.9 kB / 0.686 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.954e-05/0.1421, allocations: 81.02 kB / 0.686 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.1421, allocations: 4 kB / 0.686 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.1422, allocations: 11.98 kB / 0.6861 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.1423, allocations: 15.86 kB / 0.6861 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.1423, allocations: 4 kB / 0.6861 GB, free: 10.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.078e-05/0.1423, allocations: 103.6 kB / 0.6862 GB, free: 10.24 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1424, allocations: 0 / 0.6862 GB, free: 10.24 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002056/0.1426, allocations: 24 kB / 0.6862 GB, free: 10.22 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: 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.0004884/0.1431, allocations: 0.7084 MB / 0.6869 GB, free: 9.484 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.1433, allocations: 91.91 kB / 0.687 GB, free: 9.395 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.1433, allocations: 3.938 kB / 0.687 GB, free: 9.391 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.139e-05/0.1434, allocations: 51.92 kB / 0.687 GB, free: 9.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.1435, allocations: 12.67 kB / 0.687 GB, free: 9.328 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.1449, allocations: 1.456 MB / 0.6885 GB, free: 7.793 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.1452, allocations: 0.7002 MB / 0.6891 GB, free: 7.066 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.602e-05/0.1452, allocations: 8.562 kB / 0.6892 GB, free: 7.059 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.054e-05/0.1453, allocations: 31.42 kB / 0.6892 GB, free: 7.027 MB / 494.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1453, allocations: 0 / 0.6892 GB, free: 7.027 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01616/0.1615, allocations: 2.268 MB / 0.6914 GB, free: 4.898 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.04/7.201, allocations: 11.62 kB / 0.6914 GB, free: 4.891 MB / 494.1 MB (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)