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.001159/0.001159, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001105/0.001106, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9439/0.9439, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003134, allocations: 13.94 kB / 0.5069 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1511, allocations: 82.31 MB / 0.5873 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.001476/0.1526, allocations: 1.171 MB / 0.5884 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005553/0.1532, allocations: 399.4 kB / 0.5888 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.678e-05/0.1532, allocations: 0 / 0.5888 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.462e-05/0.1532, allocations: 0 / 0.5888 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.719e-05/0.1533, allocations: 7.984 kB / 0.5888 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001062/0.1534, allocations: 15.97 kB / 0.5888 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.009e-05/0.1535, allocations: 27.97 kB / 0.5889 GB, free: 1.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.431e-05/0.1536, allocations: 23.91 kB / 0.5889 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.268e-05/0.1537, allocations: 11.94 kB / 0.5889 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.974e-05/0.1538, allocations: 19.92 kB / 0.5889 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.1538, allocations: 0 / 0.5889 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.242e-05/0.1538, allocations: 4 kB / 0.5889 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.1538, allocations: 3.984 kB / 0.5889 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.1539, allocations: 33.64 kB / 0.589 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.216e-05/0.1539, allocations: 32.16 kB / 0.589 GB, free: 1.297 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.1539, allocations: 0 / 0.589 GB, free: 1.297 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1539, allocations: 4 kB / 0.589 GB, free: 1.293 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.154, allocations: 3.938 kB / 0.589 GB, free: 1.289 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.0004402/0.1544, allocations: 343.2 kB / 0.5893 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1544, allocations: 8.031 kB / 0.5893 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.582e-05/0.1545, allocations: 30.56 kB / 0.5894 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/0.1545, allocations: 11.91 kB / 0.5894 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.1546, allocations: 163 kB / 0.5895 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1547, allocations: 12 kB / 0.5895 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.1547, allocations: 3.938 kB / 0.5895 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.891e-05/0.1548, allocations: 53.67 kB / 0.5896 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.1548, allocations: 0 / 0.5896 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1548, allocations: 8 kB / 0.5896 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.1548, allocations: 0 / 0.5896 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.076e-05/0.1549, allocations: 19.98 kB / 0.5896 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/0.1552, allocations: 288.8 kB / 0.5899 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.1554, allocations: 58.62 kB / 0.59 GB, free: 152 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.1554, allocations: 0 / 0.59 GB, free: 152 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.1555, allocations: 34.59 kB / 0.59 GB, free: 108 kB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.1555, allocations: 0 / 0.59 GB, free: 108 kB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001702/0.1556, allocations: 69.72 kB / 0.5901 GB, free: 32 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.1557, allocations: 55.41 kB / 0.5901 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.568e-05/0.1558, allocations: 105.8 kB / 0.5902 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.1558, allocations: 29.7 kB / 0.5902 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.624e-05/0.1558, allocations: 84.08 kB / 0.5903 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.1559, allocations: 19.8 kB / 0.5903 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.1559, allocations: 0 / 0.5903 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.622e-05/0.156, allocations: 310.8 kB / 0.5906 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.309e-05/0.156, allocations: 11.94 kB / 0.5906 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.842e-05/0.156, allocations: 15.98 kB / 0.5907 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.842e-05/0.156, allocations: 12 kB / 0.5907 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.156, allocations: 3.938 kB / 0.5907 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.802e-05/0.1561, allocations: 61.59 kB / 0.5907 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.1562, allocations: 8 kB / 0.5907 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1562, allocations: 0 / 0.5907 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.1562, allocations: 0 / 0.5907 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.789e-05/0.1562, allocations: 8 kB / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1563, allocations: 3.984 kB / 0.5908 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.177e-05/0.1563, allocations: 7.891 kB / 0.5908 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.1563, allocations: 4 kB / 0.5908 GB, free: 15.26 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.103e-05/0.1564, allocations: 116.2 kB / 0.5909 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.191e-05/0.1564, allocations: 0 / 0.5909 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/0.1566, allocations: 89.16 kB / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1566, allocations: 0 / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.1566, allocations: 0 / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1566, allocations: 0 / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.1568, allocations: 185.5 kB / 0.5911 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1568, allocations: 4.438 kB / 0.5911 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.309e-05/0.1569, allocations: 15.98 kB / 0.5912 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1569, allocations: 192 / 0.5912 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.1569, allocations: 4 kB / 0.5912 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1569, allocations: 0 / 0.5912 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1569, allocations: 4 kB / 0.5912 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.157, allocations: 179.5 kB / 0.5913 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/0.1571, allocations: 89 kB / 0.5914 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.1571, allocations: 4 kB / 0.5914 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.329e-05/0.1572, allocations: 4 kB / 0.5914 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.97e-05/0.1572, allocations: 4 kB / 0.5914 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.1572, allocations: 0 / 0.5914 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.472e-05/0.1572, allocations: 83.27 kB / 0.5915 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1572, allocations: 0 / 0.5915 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002233/0.1575, allocations: 12 kB / 0.5915 GB, free: 14.38 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003688/0.1578, allocations: 0.7007 MB / 0.5922 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.708e-05/0.158, allocations: 35.98 kB / 0.5922 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.158, allocations: 3.938 kB / 0.5922 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.506e-05/0.158, allocations: 27.92 kB / 0.5923 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.1581, allocations: 4 kB / 0.5923 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00062/0.1588, allocations: 428.4 kB / 0.5927 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/0.159, allocations: 0.6887 MB / 0.5934 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.494e-05/0.159, allocations: 64 / 0.5934 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.64e-05/0.1591, allocations: 19.44 kB / 0.5934 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1591, allocations: 0 / 0.5934 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009981/0.169, allocations: 1.162 MB / 0.5945 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.1693, allocations: 208.8 kB / 0.5947 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/1.745, allocations: 0 / 0.5947 GB, free: 11.14 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/linux/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) Environment - environmentSimulation: