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.001116/0.001116, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001125/0.001125, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.206/1.206, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8014/0.8014, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 64.38 kB / 0.5048 GB, free: 5.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1255, allocations: 80.92 MB / 0.5838 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002333/0.1279, allocations: 1.531 MB / 0.5853 GB, free: 3.336 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005462/0.1285, allocations: 431.1 kB / 0.5857 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.016e-05/0.1285, allocations: 0 / 0.5857 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.351e-05/0.1285, allocations: 7.922 kB / 0.5857 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.588e-05/0.1286, allocations: 3.938 kB / 0.5857 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001026/0.1287, allocations: 19.92 kB / 0.5858 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.446e-05/0.1288, allocations: 47.8 kB / 0.5858 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.424e-05/0.1289, allocations: 19.97 kB / 0.5858 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.064e-05/0.129, allocations: 16 kB / 0.5858 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.963e-05/0.129, allocations: 23.91 kB / 0.5859 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.1291, allocations: 0 / 0.5859 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.297e-05/0.1291, allocations: 4 kB / 0.5859 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.1291, allocations: 7.922 kB / 0.5859 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.953e-05/0.1291, allocations: 15.92 kB / 0.5859 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.339e-05/0.1292, allocations: 36.12 kB / 0.5859 GB, free: 2.711 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1292, allocations: 0 / 0.5859 GB, free: 2.711 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1292, allocations: 0 / 0.5859 GB, free: 2.711 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.685e-06/0.1292, allocations: 0 / 0.5859 GB, free: 2.711 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.000399/0.1296, allocations: 351.4 kB / 0.5862 GB, free: 2.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1297, allocations: 16.02 kB / 0.5863 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.001e-05/0.1297, allocations: 30.75 kB / 0.5863 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.412e-05/0.1297, allocations: 8.844 kB / 0.5863 GB, free: 2.258 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.1298, allocations: 164.3 kB / 0.5865 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.1299, allocations: 8.375 kB / 0.5865 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-06/0.1299, allocations: 384 / 0.5865 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.776e-05/0.13, allocations: 61.8 kB / 0.5865 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.36e-06/0.13, allocations: 3.938 kB / 0.5865 GB, free: 1.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.13, allocations: 4 kB / 0.5865 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.13, allocations: 0 / 0.5865 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.419e-05/0.1301, allocations: 27.92 kB / 0.5866 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003273/0.1304, allocations: 280.8 kB / 0.5868 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.1306, allocations: 66.66 kB / 0.5869 GB, free: 1.551 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.403e-05/0.1306, allocations: 24.86 kB / 0.5869 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.1306, allocations: 0 / 0.5869 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.1307, allocations: 38.55 kB / 0.587 GB, free: 1.477 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.1307, allocations: 0 / 0.587 GB, free: 1.477 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001668/0.1308, allocations: 65.59 kB / 0.587 GB, free: 1.406 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.1309, allocations: 63.41 kB / 0.5871 GB, free: 1.332 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.568e-05/0.1309, allocations: 97.8 kB / 0.5872 GB, free: 1.227 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.1309, allocations: 25.7 kB / 0.5872 GB, free: 1.195 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.139e-05/0.131, allocations: 96 kB / 0.5873 GB, free: 1.098 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.131, allocations: 11.81 kB / 0.5873 GB, free: 1.086 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.1311, allocations: 21.7 kB / 0.5873 GB, free: 1.059 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.835e-05/0.1311, allocations: 314.8 kB / 0.5876 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.129e-05/0.1312, allocations: 8 kB / 0.5876 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.057e-05/0.1312, allocations: 20.23 kB / 0.5876 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.419e-05/0.1313, allocations: 32.98 kB / 0.5877 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1313, allocations: 0 / 0.5877 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.133e-05/0.1313, allocations: 61.78 kB / 0.5877 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.1314, allocations: 4 kB / 0.5877 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1314, allocations: 0 / 0.5877 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1314, allocations: 7.922 kB / 0.5877 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.755e-05/0.1315, allocations: 11.98 kB / 0.5878 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1315, allocations: 0 / 0.5878 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.899e-05/0.1315, allocations: 0 / 0.5878 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.1315, allocations: 4 kB / 0.5878 GB, free: 0.5859 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 6.611e-05/0.1316, allocations: 117.8 kB / 0.5879 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.1316, allocations: 0 / 0.5879 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.1317, allocations: 85.23 kB / 0.588 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.1318, allocations: 0 / 0.588 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1318, allocations: 0 / 0.588 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1318, allocations: 7.922 kB / 0.588 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.1319, allocations: 189.4 kB / 0.5881 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1319, allocations: 4 kB / 0.5881 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.968e-05/0.132, allocations: 12 kB / 0.5882 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.132, allocations: 0 / 0.5882 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.132, allocations: 0 / 0.5882 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.132, allocations: 4 kB / 0.5882 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.132, allocations: 0 / 0.5882 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.1322, allocations: 171.5 kB / 0.5883 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.418e-05/0.1322, allocations: 81.02 kB / 0.5884 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.1322, allocations: 8 kB / 0.5884 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.068e-05/0.1323, allocations: 4.062 kB / 0.5884 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/0.1323, allocations: 7.938 kB / 0.5884 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.1324, allocations: 7.984 kB / 0.5884 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.913e-05/0.1324, allocations: 79.28 kB / 0.5885 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1324, allocations: 4 kB / 0.5885 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002064/0.1326, allocations: 7.938 kB / 0.5885 GB, free: 15.71 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.0003579/0.133, allocations: 0.7047 MB / 0.5892 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.557e-05/0.1331, allocations: 39.92 kB / 0.5892 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1331, allocations: 3.938 kB / 0.5892 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.268e-05/0.1331, allocations: 20 kB / 0.5893 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.1333, allocations: 8 kB / 0.5893 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009231/0.1342, allocations: 1.263 MB / 0.5905 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.1345, allocations: 0.6809 MB / 0.5912 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.547e-05/0.1345, allocations: 4.25 kB / 0.5912 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.1345, allocations: 19.42 kB / 0.5912 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1345, allocations: 3.938 kB / 0.5912 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1272/0.2618, allocations: 1.241 MB / 0.5924 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/0.262, allocations: 219.5 kB / 0.5926 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/1.814, allocations: 0 / 0.5926 GB, free: 11.48 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)