Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.EquationOfTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",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.001403/0.001403, allocations: 100.1 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.001563/0.001563, 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.481/1.481, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.053/1.053, allocations: 135.2 MB / 426.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003353, allocations: 16 kB / 0.5069 GB, free: 5.152 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1849, allocations: 82.31 MB / 0.5873 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.0008432/0.1858, allocations: 411.4 kB / 0.5877 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.1868, allocations: 1.062 MB / 0.5887 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.598e-05/0.1869, allocations: 0 / 0.5887 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.284e-05/0.1869, allocations: 3.938 kB / 0.5887 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.225e-05/0.1869, allocations: 4 kB / 0.5887 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.1871, allocations: 11.98 kB / 0.5887 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.931e-05/0.1871, allocations: 11.98 kB / 0.5887 GB, free: 1.52 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.827e-05/0.1872, allocations: 4 kB / 0.5888 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.517e-05/0.1873, allocations: 7.984 kB / 0.5888 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.207e-05/0.1874, allocations: 11.94 kB / 0.5888 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.1874, allocations: 0 / 0.5888 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.367e-06/0.1874, allocations: 0 / 0.5888 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.273e-05/0.1874, allocations: 7.969 kB / 0.5888 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.1874, allocations: 29.7 kB / 0.5888 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 4.248e-05/0.1875, allocations: 3.984 kB / 0.5888 GB, free: 1.449 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1875, allocations: 4 kB / 0.5888 GB, free: 1.445 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1875, allocations: 0 / 0.5888 GB, free: 1.445 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.1875, allocations: 0 / 0.5888 GB, free: 1.445 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003365/0.1878, allocations: 323.6 kB / 0.5891 GB, free: 1.082 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.1879, allocations: 12.03 kB / 0.5891 GB, free: 1.07 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.314e-05/0.1879, allocations: 30.56 kB / 0.5892 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.998e-05/0.188, allocations: 3.906 kB / 0.5892 GB, free: 1.027 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.887e-05/0.188, allocations: 171 kB / 0.5893 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1881, allocations: 3.938 kB / 0.5893 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-06/0.1881, allocations: 4 kB / 0.5893 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.721e-05/0.1882, allocations: 41.67 kB / 0.5894 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-06/0.1882, allocations: 3.938 kB / 0.5894 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.1882, allocations: 0 / 0.5894 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1882, allocations: 4 kB / 0.5894 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.053e-05/0.1883, allocations: 11.94 kB / 0.5894 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003096/0.1886, allocations: 260.9 kB / 0.5896 GB, free: 452 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.1887, allocations: 42.5 kB / 0.5897 GB, free: 400 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.1888, allocations: 0 / 0.5897 GB, free: 400 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.1888, allocations: 34.62 kB / 0.5897 GB, free: 356 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.1888, allocations: 0 / 0.5897 GB, free: 356 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001521/0.1889, allocations: 49.78 kB / 0.5898 GB, free: 300 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.189, allocations: 59.34 kB / 0.5898 GB, free: 228 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.169e-05/0.189, allocations: 89.86 kB / 0.5899 GB, free: 128 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.1891, allocations: 25.7 kB / 0.5899 GB, free: 96 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.738e-05/0.1891, allocations: 84.14 kB / 0.59 GB, free: 8 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.1891, allocations: 7.891 kB / 0.59 GB, free: 0 / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.1891, allocations: 0 / 0.59 GB, free: 0 / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.623e-05/0.1892, allocations: 318.8 kB / 0.5903 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.576e-05/0.1893, allocations: 4 kB / 0.5903 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.121e-05/0.1893, allocations: 4 kB / 0.5903 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.612e-05/0.1893, allocations: 15.98 kB / 0.5903 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1893, allocations: 0 / 0.5903 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.741e-05/0.1894, allocations: 49.59 kB / 0.5904 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1894, allocations: 4 kB / 0.5904 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.1894, allocations: 0 / 0.5904 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.1894, allocations: 0 / 0.5904 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.564e-05/0.1895, allocations: 7.938 kB / 0.5904 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.1895, allocations: 0 / 0.5904 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.331e-05/0.1895, allocations: 4 kB / 0.5904 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.1895, allocations: 7.984 kB / 0.5904 GB, free: 15.58 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 (3): * Single equations (assignments): 3 * 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 6.78e-05/0.1896, allocations: 113.8 kB / 0.5905 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.1896, allocations: 0 / 0.5905 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/0.1898, allocations: 73.17 kB / 0.5906 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1898, allocations: 0 / 0.5906 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1898, allocations: 0 / 0.5906 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1898, allocations: 4.328 kB / 0.5906 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.1899, allocations: 165.5 kB / 0.5908 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1899, allocations: 3.938 kB / 0.5908 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.989e-05/0.19, allocations: 15.94 kB / 0.5908 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.19, allocations: 7.984 kB / 0.5908 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.056e-06/0.19, allocations: 3.984 kB / 0.5908 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.19, allocations: 0 / 0.5908 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.19, allocations: 0 / 0.5908 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.1902, allocations: 163.4 kB / 0.5909 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.594e-05/0.1902, allocations: 77.11 kB / 0.591 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.1902, allocations: 4 kB / 0.591 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.708e-05/0.1903, allocations: 8.062 kB / 0.591 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.261e-05/0.1903, allocations: 0 / 0.591 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.1903, allocations: 11.98 kB / 0.591 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.267e-05/0.1903, allocations: 75.28 kB / 0.5911 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1903, allocations: 0 / 0.5911 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002184/0.1906, allocations: 8 kB / 0.5911 GB, free: 14.75 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 (6): * Single equations (assignments): 6 * 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.000338/0.1909, allocations: 0.6929 MB / 0.5918 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.817e-05/0.191, allocations: 23.98 kB / 0.5918 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.191, allocations: 0 / 0.5918 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.721e-05/0.191, allocations: 19.94 kB / 0.5918 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.1912, allocations: 0 / 0.5918 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/0.1915, allocations: 150.3 kB / 0.592 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/0.1917, allocations: 0.6809 MB / 0.5926 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.054e-05/0.1918, allocations: 4 kB / 0.5927 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.1918, allocations: 11.44 kB / 0.5927 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1918, allocations: 4 kB / 0.5927 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009699/0.2015, allocations: 0.9696 MB / 0.5936 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/0.2017, allocations: 205.6 kB / 0.5938 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/1.789, allocations: 2.391 kB / 0.5938 GB, free: 12.06 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) Environment - environmentSimulation: