Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.001562/0.001562, allocations: 108 kB / 15.6 MB, free: 132 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.001296/0.001296, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.406/1.406, allocations: 222.9 MB / 240.2 MB, free: 4.246 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: 294.5 kB / 290.7 MB, free: 1.852 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.078/1.078, allocations: 178.6 MB / 0.5073 GB, free: 4.559 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002788/0.002788, allocations: 101.2 kB / 0.6066 GB, free: 24.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1453, allocations: 89.15 MB / 0.6936 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002711/0.1481, allocations: 1.47 MB / 0.695 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007801/0.1489, allocations: 477 kB / 0.6955 GB, free: 2.266 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.727e-05/0.1489, allocations: 0 / 0.6955 GB, free: 2.266 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.83e-05/0.149, allocations: 3.938 kB / 0.6955 GB, free: 2.262 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.1492, allocations: 25.58 kB / 0.6955 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.918e-05/0.1493, allocations: 15.97 kB / 0.6955 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.817e-05/0.1494, allocations: 55.73 kB / 0.6956 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.389e-05/0.1494, allocations: 9.219 kB / 0.6956 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.177e-05/0.1495, allocations: 20.52 kB / 0.6956 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.635e-05/0.1496, allocations: 31.33 kB / 0.6957 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.1497, allocations: 4 kB / 0.6957 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.438e-05/0.1497, allocations: 4 kB / 0.6957 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.022e-05/0.1497, allocations: 4 kB / 0.6957 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.52e-05/0.1498, allocations: 31.86 kB / 0.6957 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.709e-05/0.1499, allocations: 43.81 kB / 0.6957 GB, free: 2.027 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1499, allocations: 0 / 0.6957 GB, free: 2.027 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1499, allocations: 3.938 kB / 0.6957 GB, free: 2.023 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.1499, allocations: 0 / 0.6957 GB, free: 2.023 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005546/0.1504, allocations: 352.7 kB / 0.6961 GB, free: 1.633 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.1505, allocations: 12.03 kB / 0.6961 GB, free: 1.621 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.598e-05/0.1505, allocations: 38.75 kB / 0.6961 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.696e-05/0.1506, allocations: 8.875 kB / 0.6961 GB, free: 1.566 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.1507, allocations: 176.3 kB / 0.6963 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.1507, allocations: 384 / 0.6963 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.1508, allocations: 4.375 kB / 0.6963 GB, free: 1.352 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.1509, allocations: 49.81 kB / 0.6964 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1509, allocations: 0 / 0.6964 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1509, allocations: 4 kB / 0.6964 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1509, allocations: 0 / 0.6964 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.169e-05/0.151, allocations: 23.92 kB / 0.6964 GB, free: 1.27 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003585/0.1513, allocations: 276.8 kB / 0.6966 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.1515, allocations: 42.56 kB / 0.6967 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.276e-05/0.1515, allocations: 16.86 kB / 0.6967 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.1515, allocations: 0 / 0.6967 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.1517, allocations: 79.41 kB / 0.6968 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.1517, allocations: 0 / 0.6968 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002203/0.1519, allocations: 81.59 kB / 0.6969 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.152, allocations: 51.41 kB / 0.6969 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.678e-05/0.1521, allocations: 113.8 kB / 0.697 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.1521, allocations: 25.7 kB / 0.697 GB, free: 500 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.858e-05/0.1522, allocations: 84.14 kB / 0.6971 GB, free: 412 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.1522, allocations: 15.8 kB / 0.6971 GB, free: 396 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.1522, allocations: 17.72 kB / 0.6972 GB, free: 372 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1524, allocations: 330.7 kB / 0.6975 GB, free: 32 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.573e-05/0.1524, allocations: 15.94 kB / 0.6975 GB, free: 16 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.586e-05/0.1525, allocations: 12 kB / 0.6975 GB, free: 4 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.011e-05/0.1525, allocations: 28.84 kB / 0.6975 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1526, allocations: 0 / 0.6975 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001107/0.1527, allocations: 57.7 kB / 0.6976 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1527, allocations: 11.98 kB / 0.6976 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1527, allocations: 3.984 kB / 0.6976 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.1527, allocations: 0 / 0.6976 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.128e-05/0.1528, allocations: 15.94 kB / 0.6976 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1528, allocations: 0 / 0.6976 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.951e-05/0.1529, allocations: 0 / 0.6976 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.1529, allocations: 8 kB / 0.6976 GB, free: 15.87 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: 3 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.995e-05/0.153, allocations: 117.8 kB / 0.6977 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.153, allocations: 3.906 kB / 0.6977 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.173e-05/0.153, allocations: 7.969 kB / 0.6977 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.153, allocations: 4 kB / 0.6977 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1531, allocations: 4.438 kB / 0.6977 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1531, allocations: 0 / 0.6977 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.1532, allocations: 185.4 kB / 0.6979 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1532, allocations: 4 kB / 0.6979 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.089e-05/0.1533, allocations: 4 kB / 0.6979 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1533, allocations: 0 / 0.6979 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.1533, allocations: 4 kB / 0.6979 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1533, allocations: 0 / 0.6979 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1533, allocations: 0 / 0.6979 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.1534, allocations: 105 kB / 0.698 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.1535, allocations: 81.02 kB / 0.6981 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.1535, allocations: 4 kB / 0.6981 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.058e-05/0.1536, allocations: 0 / 0.6981 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.1536, allocations: 11.98 kB / 0.6981 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.1537, allocations: 0 / 0.6981 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.081e-05/0.1537, allocations: 91.27 kB / 0.6982 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1537, allocations: 0 / 0.6982 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001936/0.1539, allocations: 8 kB / 0.6982 GB, free: 15.15 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: 2 ($whenCondition1,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004683/0.1544, allocations: 0.6397 MB / 0.6988 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001218/0.1545, allocations: 39.92 kB / 0.6989 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1545, allocations: 0 / 0.6989 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.57e-05/0.1546, allocations: 16 kB / 0.6989 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.1548, allocations: 7.938 kB / 0.6989 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.156, allocations: 1.229 MB / 0.7001 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.1563, allocations: 0.6807 MB / 0.7008 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.501e-05/0.1563, allocations: 4 kB / 0.7008 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.1564, allocations: 11.44 kB / 0.7008 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1564, allocations: 0 / 0.7008 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/0.1784, allocations: 1.515 MB / 0.7023 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.707/7.885, allocations: 22.19 kB / 0.7023 GB, free: 11.02 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv --start-time 0 --stop-time 172800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)