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.001591/0.001597, 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.001702/0.001702, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.415/1.415, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002527/0.002527, allocations: 282.8 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.066/1.066, allocations: 178.6 MB / 0.5073 GB, free: 4.602 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002729/0.002729, allocations: 102.1 kB / 0.6065 GB, free: 24.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1468, allocations: 89.14 MB / 0.6936 GB, free: 4.25 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002819/0.1496, allocations: 1.598 MB / 0.6952 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009264/0.1506, allocations: 0.5396 MB / 0.6957 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.444e-05/0.1506, allocations: 0.5625 kB / 0.6957 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.203e-05/0.1507, allocations: 11.86 kB / 0.6957 GB, free: 2.098 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002528/0.1509, allocations: 37.44 kB / 0.6957 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001194/0.1511, allocations: 51.88 kB / 0.6958 GB, free: 2.012 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.1512, allocations: 107.6 kB / 0.6959 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1513, allocations: 20.27 kB / 0.6959 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.1514, allocations: 43.84 kB / 0.6959 GB, free: 1.844 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.1516, allocations: 51.81 kB / 0.696 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.1516, allocations: 11.98 kB / 0.696 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.251e-05/0.1516, allocations: 12 kB / 0.696 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.448e-05/0.1517, allocations: 23.92 kB / 0.696 GB, free: 1.746 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.505e-05/0.1517, allocations: 39.8 kB / 0.6961 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.1519, allocations: 95.61 kB / 0.6962 GB, free: 1.613 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1519, allocations: 0 / 0.6962 GB, free: 1.613 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1519, allocations: 0 / 0.6962 GB, free: 1.613 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.1519, allocations: 0 / 0.6962 GB, free: 1.613 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.0007439/0.1527, allocations: 403.1 kB / 0.6966 GB, free: 1.172 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.1527, allocations: 12.03 kB / 0.6966 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.963e-05/0.1527, allocations: 34.75 kB / 0.6966 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.1528, allocations: 12.84 kB / 0.6966 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.1529, allocations: 184.3 kB / 0.6968 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.153, allocations: 4.375 kB / 0.6968 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.153, allocations: 12.36 kB / 0.6968 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.1532, allocations: 95.33 kB / 0.6969 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.1532, allocations: 0 / 0.6969 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.1532, allocations: 4 kB / 0.6969 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.1532, allocations: 4 kB / 0.6969 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.1534, allocations: 47.97 kB / 0.6969 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005122/0.1539, allocations: 340.5 kB / 0.6973 GB, free: 344 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.1542, allocations: 106.7 kB / 0.6974 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.75e-05/0.1543, allocations: 44.84 kB / 0.6974 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.1543, allocations: 0 / 0.6974 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002124/0.1545, allocations: 103.2 kB / 0.6975 GB, free: 64 kB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.1545, allocations: 0 / 0.6975 GB, free: 64 kB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003565/0.1549, allocations: 149.5 kB / 0.6977 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.155, allocations: 55.41 kB / 0.6977 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.1551, allocations: 125.8 kB / 0.6978 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.1551, allocations: 29.7 kB / 0.6979 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.352e-05/0.1552, allocations: 96.44 kB / 0.698 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.1552, allocations: 39.47 kB / 0.698 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-05/0.1553, allocations: 33.64 kB / 0.698 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1554, allocations: 318.8 kB / 0.6983 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.833e-05/0.1555, allocations: 27.98 kB / 0.6984 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.223e-05/0.1556, allocations: 39.98 kB / 0.6984 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.1557, allocations: 63.84 kB / 0.6985 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1557, allocations: 0 / 0.6985 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001996/0.1559, allocations: 109.6 kB / 0.6986 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.1559, allocations: 4 kB / 0.6986 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.1559, allocations: 0 / 0.6986 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.156, allocations: 0 / 0.6986 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.1561, allocations: 23.92 kB / 0.6986 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.1561, allocations: 0 / 0.6986 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.1562, allocations: 15.83 kB / 0.6986 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.1562, allocations: 8 kB / 0.6986 GB, free: 14.88 MB / 0.4981 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.767e-05/0.1563, allocations: 117.8 kB / 0.6987 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.1564, allocations: 7.906 kB / 0.6987 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.1567, allocations: 149.9 kB / 0.6989 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1567, allocations: 4 kB / 0.6989 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1567, allocations: 0 / 0.6989 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1567, allocations: 3.938 kB / 0.6989 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.1569, allocations: 217.5 kB / 0.6991 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.1569, allocations: 0 / 0.6991 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.602e-05/0.157, allocations: 15.98 kB / 0.6991 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.157, allocations: 0 / 0.6991 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.157, allocations: 12 kB / 0.6991 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.157, allocations: 0 / 0.6991 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.157, allocations: 0 / 0.6991 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.1573, allocations: 164.9 kB / 0.6993 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.276e-05/0.1574, allocations: 85.02 kB / 0.6993 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.1574, allocations: 11.98 kB / 0.6994 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.1575, allocations: 4 kB / 0.6994 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.1576, allocations: 15.92 kB / 0.6994 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.1576, allocations: 11.98 kB / 0.6994 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.227e-05/0.1577, allocations: 99.2 kB / 0.6995 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1577, allocations: 0 / 0.6995 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002107/0.1579, allocations: 24 kB / 0.6995 GB, free: 13.86 MB / 0.4981 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.000577/0.1585, allocations: 0.7052 MB / 0.7002 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002142/0.1587, allocations: 95.89 kB / 0.7003 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1587, allocations: 0 / 0.7003 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.1588, allocations: 55.86 kB / 0.7003 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.159, allocations: 12.69 kB / 0.7004 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.1606, allocations: 1.46 MB / 0.7018 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.1609, allocations: 0.6924 MB / 0.7025 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.764e-05/0.161, allocations: 20.41 kB / 0.7025 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.987e-05/0.1611, allocations: 31.42 kB / 0.7025 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1611, allocations: 0 / 0.7025 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.1836, allocations: 2.263 MB / 0.7047 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.753/7.937, allocations: 8.047 kB / 0.7047 GB, free: 8.523 MB / 0.4981 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)