Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_IDEAS_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.001042/0.001042, 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.001033/0.001033, allocations: 191.3 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.265/1.265, 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/IDEAS 3.0.0/package.mo): time 0.7162/0.7162, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 68.12 kB / 0.5019 GB, free: 8.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1317, allocations: 80.2 MB / 0.5802 GB, free: 8.695 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002442/0.1342, allocations: 1.476 MB / 0.5816 GB, free: 7.203 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005843/0.1348, allocations: 436.6 kB / 0.5821 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.209e-05/0.1349, allocations: 0 / 0.5821 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.631e-05/0.1349, allocations: 3.938 kB / 0.5821 GB, free: 6.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.659e-05/0.135, allocations: 11.92 kB / 0.5821 GB, free: 6.758 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001102/0.1351, allocations: 15.97 kB / 0.5821 GB, free: 6.742 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.36e-05/0.1352, allocations: 43.86 kB / 0.5821 GB, free: 6.699 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.901e-05/0.1353, allocations: 23.98 kB / 0.5821 GB, free: 6.676 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.219e-05/0.1353, allocations: 23.86 kB / 0.5822 GB, free: 6.652 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.842e-05/0.1354, allocations: 19.92 kB / 0.5822 GB, free: 6.633 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.1354, allocations: 4 kB / 0.5822 GB, free: 6.629 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.269e-05/0.1355, allocations: 4 kB / 0.5822 GB, free: 6.625 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.1355, allocations: 7.984 kB / 0.5822 GB, free: 6.617 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.1355, allocations: 19.88 kB / 0.5822 GB, free: 6.598 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.213e-05/0.1356, allocations: 44.09 kB / 0.5823 GB, free: 6.555 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1356, allocations: 0 / 0.5823 GB, free: 6.555 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1356, allocations: 0 / 0.5823 GB, free: 6.555 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.1356, allocations: 0 / 0.5823 GB, free: 6.555 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004018/0.136, allocations: 343.4 kB / 0.5826 GB, free: 6.172 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.1361, allocations: 12.03 kB / 0.5826 GB, free: 6.16 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.433e-05/0.1361, allocations: 38.73 kB / 0.5826 GB, free: 6.113 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.413e-05/0.1361, allocations: 8.938 kB / 0.5826 GB, free: 6.105 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.1362, allocations: 164.3 kB / 0.5828 GB, free: 5.906 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.1363, allocations: 4.375 kB / 0.5828 GB, free: 5.902 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.118e-06/0.1363, allocations: 8.312 kB / 0.5828 GB, free: 5.895 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.312e-05/0.1364, allocations: 57.8 kB / 0.5829 GB, free: 5.832 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.1364, allocations: 0 / 0.5829 GB, free: 5.832 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.1364, allocations: 4 kB / 0.5829 GB, free: 5.828 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1364, allocations: 0 / 0.5829 GB, free: 5.828 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.352e-05/0.1365, allocations: 23.98 kB / 0.5829 GB, free: 5.805 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/0.1368, allocations: 284.8 kB / 0.5832 GB, free: 5.477 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.137, allocations: 58.62 kB / 0.5832 GB, free: 5.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.283e-05/0.137, allocations: 24.8 kB / 0.5833 GB, free: 5.383 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.137, allocations: 4 kB / 0.5833 GB, free: 5.379 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.1371, allocations: 42.59 kB / 0.5833 GB, free: 5.328 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1371, allocations: 0 / 0.5833 GB, free: 5.328 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001748/0.1372, allocations: 69.58 kB / 0.5834 GB, free: 5.254 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.1373, allocations: 55.41 kB / 0.5834 GB, free: 5.188 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.582e-05/0.1373, allocations: 98 kB / 0.5835 GB, free: 5.082 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.1374, allocations: 25.7 kB / 0.5835 GB, free: 5.051 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.1374, allocations: 88.06 kB / 0.5836 GB, free: 4.961 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.1374, allocations: 19.75 kB / 0.5836 GB, free: 4.941 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/0.1375, allocations: 21.72 kB / 0.5837 GB, free: 4.914 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.076e-05/0.1376, allocations: 318.8 kB / 0.584 GB, free: 4.594 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.099e-05/0.1376, allocations: 8 kB / 0.584 GB, free: 4.586 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.517e-05/0.1376, allocations: 15.98 kB / 0.584 GB, free: 4.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.96e-05/0.1377, allocations: 33.17 kB / 0.584 GB, free: 4.535 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1377, allocations: 0 / 0.584 GB, free: 4.535 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.445e-05/0.1378, allocations: 65.59 kB / 0.5841 GB, free: 4.465 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.1378, allocations: 5.875 kB / 0.5841 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.1378, allocations: 48 / 0.5841 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1378, allocations: 7.984 kB / 0.5841 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.72e-05/0.1379, allocations: 11.98 kB / 0.5841 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1379, allocations: 0 / 0.5841 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.919e-05/0.1379, allocations: 0 / 0.5841 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.1379, allocations: 0 / 0.5841 GB, free: 4.441 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.068e-05/0.138, allocations: 122.4 kB / 0.5842 GB, free: 4.312 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.138, allocations: 0 / 0.5842 GB, free: 4.312 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/0.1382, allocations: 89.22 kB / 0.5843 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1382, allocations: 0 / 0.5843 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.1382, allocations: 0 / 0.5843 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.1382, allocations: 0 / 0.5843 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.1384, allocations: 189.4 kB / 0.5845 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1384, allocations: 4 kB / 0.5845 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.846e-05/0.1384, allocations: 8 kB / 0.5845 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1384, allocations: 0 / 0.5845 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.912e-06/0.1385, allocations: 0 / 0.5845 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1385, allocations: 7.938 kB / 0.5845 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1385, allocations: 0 / 0.5845 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.1386, allocations: 179.5 kB / 0.5847 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/0.1387, allocations: 81.02 kB / 0.5848 GB, free: 3.672 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.1387, allocations: 0 / 0.5848 GB, free: 3.672 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.207e-05/0.1387, allocations: 4 kB / 0.5848 GB, free: 3.668 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.369e-05/0.1388, allocations: 4 kB / 0.5848 GB, free: 3.664 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.1388, allocations: 8 kB / 0.5848 GB, free: 3.656 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.728e-05/0.1388, allocations: 79.27 kB / 0.5848 GB, free: 3.578 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.352e-06/0.1388, allocations: 4 kB / 0.5848 GB, free: 3.574 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002123/0.139, allocations: 19.88 kB / 0.5849 GB, free: 3.555 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0003547/0.1394, allocations: 0.7009 MB / 0.5855 GB, free: 2.828 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.753e-05/0.1395, allocations: 39.97 kB / 0.5856 GB, free: 2.789 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1395, allocations: 3.938 kB / 0.5856 GB, free: 2.785 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.446e-05/0.1395, allocations: 31.98 kB / 0.5856 GB, free: 2.754 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.1397, allocations: 5.547 kB / 0.5856 GB, free: 2.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009548/0.1407, allocations: 1.249 MB / 0.5868 GB, free: 1.422 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.1409, allocations: 0.6829 MB / 0.5875 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.315e-05/0.141, allocations: 4.25 kB / 0.5875 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.672e-05/0.141, allocations: 19.42 kB / 0.5875 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.141, allocations: 0 / 0.5875 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01552/0.1566, allocations: 1.358 MB / 0.5889 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.646/6.802, allocations: 4.719 kB / 0.5889 GB, free: 15.45 MB / 0.4981 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)