Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_dev_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.001214/0.001214, 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.001089/0.001089, allocations: 195.7 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.192/1.192, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8197/0.8197, allocations: 135.1 MB / 425.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 69.19 kB / 0.5055 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1288, allocations: 80.92 MB / 0.5845 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002255/0.1311, allocations: 1.463 MB / 0.5859 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005587/0.1317, allocations: 436.7 kB / 0.5863 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.123e-05/0.1317, allocations: 3.938 kB / 0.5863 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.444e-05/0.1317, allocations: 3.938 kB / 0.5863 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.366e-05/0.1318, allocations: 7.938 kB / 0.5863 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000108/0.1319, allocations: 23.91 kB / 0.5864 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.416e-05/0.132, allocations: 47.84 kB / 0.5864 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.194e-05/0.1321, allocations: 8 kB / 0.5864 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.333e-05/0.1322, allocations: 27.92 kB / 0.5864 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.629e-05/0.1323, allocations: 15.92 kB / 0.5865 GB, free: 2.422 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.1323, allocations: 4 kB / 0.5865 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.1e-05/0.1323, allocations: 4 kB / 0.5865 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.1323, allocations: 11.97 kB / 0.5865 GB, free: 2.402 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.716e-05/0.1323, allocations: 19.88 kB / 0.5865 GB, free: 2.383 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.703e-05/0.1324, allocations: 36.11 kB / 0.5865 GB, free: 2.348 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.1324, allocations: 0 / 0.5865 GB, free: 2.348 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1324, allocations: 4 kB / 0.5865 GB, free: 2.344 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.1324, allocations: 0 / 0.5865 GB, free: 2.344 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.000384/0.1328, allocations: 351.4 kB / 0.5869 GB, free: 1.953 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.1329, allocations: 8.031 kB / 0.5869 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.108e-05/0.1329, allocations: 38.73 kB / 0.5869 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.088e-05/0.1329, allocations: 8.781 kB / 0.5869 GB, free: 1.891 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.133, allocations: 168.4 kB / 0.5871 GB, free: 1.688 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.133, allocations: 384 / 0.5871 GB, free: 1.688 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.747e-06/0.1331, allocations: 4.375 kB / 0.5871 GB, free: 1.684 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.204e-05/0.1332, allocations: 61.8 kB / 0.5871 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.1332, allocations: 0 / 0.5871 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1332, allocations: 8 kB / 0.5872 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.1332, allocations: 0 / 0.5872 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.214e-05/0.1332, allocations: 27.92 kB / 0.5872 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003033/0.1336, allocations: 280.8 kB / 0.5874 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.1337, allocations: 66.61 kB / 0.5875 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.311e-05/0.1338, allocations: 28.89 kB / 0.5875 GB, free: 1.152 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.1338, allocations: 0 / 0.5875 GB, free: 1.152 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.1338, allocations: 30.56 kB / 0.5876 GB, free: 1.113 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 7.71e-07/0.1338, allocations: 0 / 0.5876 GB, free: 1.113 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001629/0.134, allocations: 77.58 kB / 0.5876 GB, free: 1.031 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.134, allocations: 59.28 kB / 0.5877 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.458e-05/0.1341, allocations: 101.8 kB / 0.5878 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.1341, allocations: 29.7 kB / 0.5878 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.824e-05/0.1341, allocations: 92.06 kB / 0.5879 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.1342, allocations: 7.812 kB / 0.5879 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.1342, allocations: 17.72 kB / 0.5879 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.14e-05/0.1343, allocations: 326.8 kB / 0.5882 GB, free: 372 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.961e-05/0.1343, allocations: 4 kB / 0.5883 GB, free: 368 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.648e-05/0.1343, allocations: 8 kB / 0.5883 GB, free: 360 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.053e-05/0.1344, allocations: 36.84 kB / 0.5883 GB, free: 320 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1344, allocations: 4 kB / 0.5883 GB, free: 316 kB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.891e-05/0.1345, allocations: 57.59 kB / 0.5884 GB, free: 252 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1345, allocations: 4 kB / 0.5884 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.1345, allocations: 3.938 kB / 0.5884 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.1345, allocations: 4 kB / 0.5884 GB, free: 240 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.414e-05/0.1346, allocations: 7.984 kB / 0.5884 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.1346, allocations: 0 / 0.5884 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.943e-05/0.1346, allocations: 4 kB / 0.5884 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.217e-06/0.1346, allocations: 0 / 0.5884 GB, free: 228 kB / 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 5.978e-05/0.1347, allocations: 121.8 kB / 0.5885 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.1347, allocations: 448 / 0.5885 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.1349, allocations: 81.23 kB / 0.5886 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/0.1349, allocations: 4 kB / 0.5886 GB, free: 0 / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1349, allocations: 112 / 0.5886 GB, free: 16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1349, allocations: 3.938 kB / 0.5886 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.1351, allocations: 189.4 kB / 0.5888 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1351, allocations: 3.984 kB / 0.5888 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.943e-05/0.1352, allocations: 16 kB / 0.5888 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.1352, allocations: 0 / 0.5888 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.1352, allocations: 0 / 0.5888 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1352, allocations: 0 / 0.5888 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1352, allocations: 0 / 0.5888 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.1353, allocations: 167.5 kB / 0.5889 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.374e-05/0.1354, allocations: 89 kB / 0.589 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.1354, allocations: 4 kB / 0.589 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.971e-05/0.1354, allocations: 4 kB / 0.589 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.553e-05/0.1355, allocations: 11.77 kB / 0.589 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.1355, allocations: 0 / 0.589 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.621e-05/0.1355, allocations: 87.27 kB / 0.5891 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1355, allocations: 0 / 0.5891 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002072/0.1357, allocations: 11.94 kB / 0.5891 GB, free: 15.34 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: 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.0003509/0.1361, allocations: 0.7085 MB / 0.5898 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.272e-05/0.1362, allocations: 39.92 kB / 0.5899 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.1362, allocations: 0 / 0.5899 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.311e-05/0.1362, allocations: 24.22 kB / 0.5899 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.1364, allocations: 4 kB / 0.5899 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008823/0.1373, allocations: 1.253 MB / 0.5911 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/0.1375, allocations: 0.6885 MB / 0.5918 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.284e-05/0.1376, allocations: 4.562 kB / 0.5918 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/0.1376, allocations: 19.42 kB / 0.5918 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.1376, allocations: 0 / 0.5918 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.817/1.955, allocations: 1.359 MB / 0.5931 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.957/10.91, allocations: 7.234 kB / 0.5931 GB, free: 11.23 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)