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.004899/0.004899, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001174/0.001174, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.207/1.207, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002018/0.002018, allocations: 275.1 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8726/0.8726, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 103.8 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1329, allocations: 86.98 MB / 0.7659 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002477/0.1354, allocations: 1.595 MB / 0.7675 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008303/0.1362, allocations: 0.5498 MB / 0.768 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.189e-05/0.1363, allocations: 0 / 0.768 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.485e-05/0.1363, allocations: 11.86 kB / 0.768 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002554/0.1366, allocations: 35.77 kB / 0.7681 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.1367, allocations: 43.88 kB / 0.7681 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.1369, allocations: 107.6 kB / 0.7682 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.137, allocations: 32.19 kB / 0.7682 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.1371, allocations: 39.91 kB / 0.7683 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.1373, allocations: 59.75 kB / 0.7683 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.1373, allocations: 8 kB / 0.7683 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.854e-05/0.1373, allocations: 11.94 kB / 0.7683 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.259e-05/0.1373, allocations: 19.92 kB / 0.7684 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.081e-05/0.1374, allocations: 39.8 kB / 0.7684 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.1376, allocations: 95.61 kB / 0.7685 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1376, allocations: 4 kB / 0.7685 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1376, allocations: 0 / 0.7685 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.1376, allocations: 0 / 0.7685 GB, free: 6.234 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.0006524/0.1382, allocations: 403.1 kB / 0.7689 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1383, allocations: 12.03 kB / 0.7689 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.334e-05/0.1383, allocations: 38.73 kB / 0.7689 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.1384, allocations: 12.89 kB / 0.7689 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.1385, allocations: 188.2 kB / 0.7691 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.1385, allocations: 4.375 kB / 0.7691 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.1385, allocations: 8.359 kB / 0.7691 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.1387, allocations: 86.62 kB / 0.7692 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1387, allocations: 0 / 0.7692 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.1387, allocations: 7.984 kB / 0.7692 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1387, allocations: 4 kB / 0.7692 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.1388, allocations: 51.91 kB / 0.7693 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004413/0.1393, allocations: 340.7 kB / 0.7696 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.1396, allocations: 110.7 kB / 0.7697 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.181e-05/0.1396, allocations: 40.84 kB / 0.7697 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.1397, allocations: 0 / 0.7697 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.1399, allocations: 107.3 kB / 0.7698 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.1399, allocations: 0 / 0.7698 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0002992/0.1402, allocations: 149.5 kB / 0.77 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.1402, allocations: 55.41 kB / 0.77 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.691e-05/0.1403, allocations: 129.8 kB / 0.7702 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.1403, allocations: 25.7 kB / 0.7702 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.256e-05/0.1404, allocations: 104.3 kB / 0.7703 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.1404, allocations: 31.73 kB / 0.7703 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.1405, allocations: 33.7 kB / 0.7704 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.804e-05/0.1406, allocations: 318.8 kB / 0.7707 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.693e-05/0.1406, allocations: 24 kB / 0.7707 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.284e-05/0.1407, allocations: 34.61 kB / 0.7707 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.1408, allocations: 60.84 kB / 0.7708 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1408, allocations: 0 / 0.7708 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000172/0.141, allocations: 117.5 kB / 0.7709 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.141, allocations: 4 kB / 0.7709 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.141, allocations: 0 / 0.7709 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.141, allocations: 4 kB / 0.7709 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.1411, allocations: 19.98 kB / 0.7709 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.1412, allocations: 0 / 0.7709 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.1413, allocations: 19.88 kB / 0.7709 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.1413, allocations: 4 kB / 0.7709 GB, free: 3.5 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 7.847e-05/0.1414, allocations: 118.4 kB / 0.771 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.1414, allocations: 11.94 kB / 0.7711 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.1416, allocations: 152.9 kB / 0.7712 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1417, allocations: 4 kB / 0.7712 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.1417, allocations: 0 / 0.7712 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1417, allocations: 3.938 kB / 0.7712 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.1418, allocations: 209.6 kB / 0.7714 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1418, allocations: 0 / 0.7714 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.06e-05/0.1419, allocations: 15.98 kB / 0.7714 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1419, allocations: 3.938 kB / 0.7714 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.1419, allocations: 7.984 kB / 0.7714 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1419, allocations: 0 / 0.7714 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.142, allocations: 0 / 0.7714 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.1422, allocations: 176.9 kB / 0.7716 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.314e-05/0.1422, allocations: 92.98 kB / 0.7717 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.1423, allocations: 0 / 0.7717 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.1424, allocations: 15.92 kB / 0.7717 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.1424, allocations: 15.92 kB / 0.7717 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.1424, allocations: 4 kB / 0.7717 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.505e-05/0.1425, allocations: 99.27 kB / 0.7718 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1425, allocations: 4 kB / 0.7718 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001963/0.1427, allocations: 20 kB / 0.7718 GB, free: 2.465 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.0004466/0.1432, allocations: 0.6983 MB / 0.7725 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001731/0.1433, allocations: 86.53 kB / 0.7726 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1433, allocations: 4 kB / 0.7726 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.413e-05/0.1434, allocations: 55.92 kB / 0.7727 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.1436, allocations: 9.812 kB / 0.7727 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.1448, allocations: 1.449 MB / 0.7741 GB, free: 56 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2492/0.3941, allocations: 0.6977 MB / 0.7748 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.015e-05/0.3942, allocations: 13.41 kB / 0.7748 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.357e-05/0.3943, allocations: 33.78 kB / 0.7748 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of SimCode: time 8.01e-07/0.3943, allocations: 0.9688 kB / 0.7748 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.4097, allocations: 2.314 MB / 0.7771 GB, free: 14 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.483/6.893, allocations: 7.984 kB / 0.7771 GB, free: 13.99 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)