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.001251/0.001251, 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.001326/0.001326, allocations: 195.3 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.323/1.323, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002138/0.002138, allocations: 278.6 kB / 290.7 MB, free: 2.027 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9607/0.9607, allocations: 169.3 MB / 0.4982 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 97.73 kB / 0.5954 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.131, allocations: 86.98 MB / 0.6803 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.00237/0.1334, allocations: 1.476 MB / 0.6817 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006763/0.1341, allocations: 458.8 kB / 0.6822 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.528e-05/0.1342, allocations: 4 kB / 0.6822 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.606e-05/0.1342, allocations: 3.938 kB / 0.6822 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001912/0.1344, allocations: 35.78 kB / 0.6822 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.553e-05/0.1345, allocations: 15.92 kB / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.896e-05/0.1346, allocations: 55.78 kB / 0.6823 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.231e-05/0.1347, allocations: 11.92 kB / 0.6823 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.148e-05/0.1348, allocations: 23.88 kB / 0.6823 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.588e-05/0.1349, allocations: 19.91 kB / 0.6823 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.1349, allocations: 4 kB / 0.6823 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.347e-05/0.1349, allocations: 4 kB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.335e-05/0.1349, allocations: 15.98 kB / 0.6824 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.934e-05/0.135, allocations: 23.86 kB / 0.6824 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.896e-05/0.1351, allocations: 39.89 kB / 0.6824 GB, free: 14.45 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1351, allocations: 0 / 0.6824 GB, free: 14.45 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1351, allocations: 0 / 0.6824 GB, free: 14.45 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.1351, allocations: 0 / 0.6824 GB, free: 14.45 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.0004865/0.1356, allocations: 355.4 kB / 0.6828 GB, free: 14.05 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.1356, allocations: 8.031 kB / 0.6828 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.343e-05/0.1356, allocations: 38.75 kB / 0.6828 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.537e-05/0.1357, allocations: 4.844 kB / 0.6828 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.1358, allocations: 180.2 kB / 0.683 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.1358, allocations: 4.375 kB / 0.683 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.1358, allocations: 4.375 kB / 0.683 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.136, allocations: 49.81 kB / 0.683 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.136, allocations: 4 kB / 0.683 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.136, allocations: 0 / 0.683 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.136, allocations: 3.984 kB / 0.683 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.348e-05/0.136, allocations: 15.98 kB / 0.6831 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003124/0.1364, allocations: 276.8 kB / 0.6833 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.438e-05/0.1365, allocations: 46.5 kB / 0.6834 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.448e-05/0.1365, allocations: 28.94 kB / 0.6834 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-06/0.1365, allocations: 0 / 0.6834 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001478/0.1367, allocations: 63.39 kB / 0.6835 GB, free: 13.21 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.1367, allocations: 0 / 0.6835 GB, free: 13.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001939/0.1369, allocations: 77.62 kB / 0.6835 GB, free: 13.13 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.1369, allocations: 59.41 kB / 0.6836 GB, free: 13.06 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.734e-05/0.137, allocations: 105.8 kB / 0.6837 GB, free: 12.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.137, allocations: 25.7 kB / 0.6837 GB, free: 12.91 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.908e-05/0.1371, allocations: 96.03 kB / 0.6838 GB, free: 12.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.1371, allocations: 7.844 kB / 0.6838 GB, free: 12.81 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.1372, allocations: 17.72 kB / 0.6838 GB, free: 12.79 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.557e-05/0.1373, allocations: 330.8 kB / 0.6841 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.975e-05/0.1373, allocations: 8 kB / 0.6841 GB, free: 12.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.269e-05/0.1373, allocations: 15.94 kB / 0.6842 GB, free: 12.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.827e-05/0.1374, allocations: 41.22 kB / 0.6842 GB, free: 12.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1374, allocations: 0 / 0.6842 GB, free: 12.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001007/0.1375, allocations: 65.53 kB / 0.6843 GB, free: 12.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.1375, allocations: 4 kB / 0.6843 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.1375, allocations: 0 / 0.6843 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1375, allocations: 4 kB / 0.6843 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.806e-05/0.1376, allocations: 8 kB / 0.6843 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.1376, allocations: 320 / 0.6843 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.366e-05/0.1377, allocations: 11.98 kB / 0.6843 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.1377, allocations: 0 / 0.6843 GB, free: 12.29 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: 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 7.776e-05/0.1378, allocations: 127 kB / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.1378, allocations: 7.906 kB / 0.6844 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.869e-05/0.1378, allocations: 3.969 kB / 0.6844 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1378, allocations: 0 / 0.6844 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1379, allocations: 0 / 0.6844 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1379, allocations: 4 kB / 0.6844 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.138, allocations: 177.6 kB / 0.6846 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.138, allocations: 3.938 kB / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.852e-05/0.138, allocations: 4 kB / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.138, allocations: 0 / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.138, allocations: 0 / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.138, allocations: 0 / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1381, allocations: 0 / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.1382, allocations: 105 kB / 0.6847 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.832e-05/0.1382, allocations: 81.02 kB / 0.6848 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.1383, allocations: 0 / 0.6848 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.393e-05/0.1383, allocations: 12.11 kB / 0.6848 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.522e-05/0.1384, allocations: 0 / 0.6848 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.1384, allocations: 8 kB / 0.6848 GB, free: 11.67 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.754e-05/0.1384, allocations: 95.25 kB / 0.6849 GB, free: 11.58 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.443e-06/0.1385, allocations: 0 / 0.6849 GB, free: 11.58 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001989/0.1387, allocations: 11.94 kB / 0.6849 GB, free: 11.57 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: 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.0003707/0.139, allocations: 0.6397 MB / 0.6855 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001092/0.1391, allocations: 35.92 kB / 0.6856 GB, free: 10.86 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.1392, allocations: 0 / 0.6856 GB, free: 10.86 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.358e-05/0.1392, allocations: 16 kB / 0.6856 GB, free: 10.85 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.1394, allocations: 10.38 kB / 0.6856 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009894/0.1404, allocations: 1.227 MB / 0.6868 GB, free: 9.535 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.1406, allocations: 0.6807 MB / 0.6875 GB, free: 8.828 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.252e-05/0.1406, allocations: 0 / 0.6875 GB, free: 8.828 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.05e-05/0.1406, allocations: 21.25 kB / 0.6875 GB, free: 8.809 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1406, allocations: 0 / 0.6875 GB, free: 8.809 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01461/0.1553, allocations: 1.508 MB / 0.6889 GB, free: 7.461 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.063/7.218, allocations: 11.56 kB / 0.689 GB, free: 7.457 MB / 494.1 MB (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)