Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.ConvertTimeNegativeStart,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",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.001205/0.001205, allocations: 99.55 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.001019/0.001019, 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.449/1.449, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9609/0.9609, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003286, allocations: 8.719 kB / 0.5069 GB, free: 5.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.181, allocations: 82.32 MB / 0.5873 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.001825/0.1829, allocations: 1.14 MB / 0.5884 GB, free: 1.844 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003765/0.1833, allocations: 163.5 kB / 0.5886 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.831e-05/0.1833, allocations: 0 / 0.5886 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.321e-05/0.1834, allocations: 4 kB / 0.5886 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.1836, allocations: 19.91 kB / 0.5886 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001961/0.1838, allocations: 43.88 kB / 0.5886 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.002e-05/0.1839, allocations: 27.97 kB / 0.5887 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.839e-05/0.184, allocations: 11.97 kB / 0.5887 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.747e-05/0.1841, allocations: 19.92 kB / 0.5887 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.559e-05/0.1841, allocations: 15.98 kB / 0.5887 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.1842, allocations: 0 / 0.5887 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.471e-05/0.1842, allocations: 11.94 kB / 0.5887 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.362e-05/0.1842, allocations: 7.922 kB / 0.5887 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.237e-05/0.1843, allocations: 33.7 kB / 0.5888 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.407e-05/0.1843, allocations: 28.16 kB / 0.5888 GB, free: 1.457 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.1843, allocations: 0 / 0.5888 GB, free: 1.457 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.1843, allocations: 0 / 0.5888 GB, free: 1.457 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1844, allocations: 0 / 0.5888 GB, free: 1.457 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.0005183/0.1849, allocations: 339.3 kB / 0.5891 GB, free: 1.078 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.1849, allocations: 12.03 kB / 0.5891 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.185, allocations: 30.56 kB / 0.5891 GB, free: 1.027 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.185, allocations: 4 kB / 0.5891 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.1852, allocations: 178.9 kB / 0.5893 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.1852, allocations: 3.938 kB / 0.5893 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.1852, allocations: 3.938 kB / 0.5893 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.1854, allocations: 68.25 kB / 0.5894 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.1854, allocations: 0 / 0.5894 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.1854, allocations: 4 kB / 0.5894 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1854, allocations: 0 / 0.5894 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.966e-05/0.1855, allocations: 15.98 kB / 0.5894 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.1859, allocations: 268.8 kB / 0.5897 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.545e-05/0.186, allocations: 42.56 kB / 0.5897 GB, free: 344 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.186, allocations: 4 kB / 0.5897 GB, free: 340 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/0.1862, allocations: 59.47 kB / 0.5898 GB, free: 268 kB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.1862, allocations: 0 / 0.5898 GB, free: 268 kB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002425/0.1865, allocations: 77.61 kB / 0.5898 GB, free: 184 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/0.1865, allocations: 106.8 kB / 0.5899 GB, free: 52 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.1867, allocations: 109.8 kB / 0.59 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.1868, allocations: 25.7 kB / 0.5901 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.173e-05/0.1868, allocations: 84.12 kB / 0.5902 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.1868, allocations: 19.81 kB / 0.5902 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-06/0.1869, allocations: 0 / 0.5902 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002716/0.1871, allocations: 318.8 kB / 0.5905 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.034e-05/0.1872, allocations: 12 kB / 0.5905 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.027e-05/0.1872, allocations: 34.56 kB / 0.5905 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.156e-05/0.1873, allocations: 8 kB / 0.5905 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1873, allocations: 4 kB / 0.5905 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001004/0.1874, allocations: 61.66 kB / 0.5906 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1874, allocations: 4 kB / 0.5906 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1874, allocations: 0 / 0.5906 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1874, allocations: 4 kB / 0.5906 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.728e-05/0.1875, allocations: 4 kB / 0.5906 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1875, allocations: 0 / 0.5906 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.1876, allocations: 15.98 kB / 0.5906 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.1877, allocations: 3.938 kB / 0.5906 GB, free: 15.31 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: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 0.0001091/0.1878, allocations: 117.8 kB / 0.5907 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.1878, allocations: 7.906 kB / 0.5907 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.404e-05/0.1879, allocations: 11.48 kB / 0.5908 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.1879, allocations: 0 / 0.5908 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1879, allocations: 3.938 kB / 0.5908 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1879, allocations: 0 / 0.5908 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.188, allocations: 165.6 kB / 0.5909 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.188, allocations: 0 / 0.5909 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.544e-05/0.1881, allocations: 11.94 kB / 0.5909 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1881, allocations: 0 / 0.5909 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.1881, allocations: 7.984 kB / 0.5909 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1881, allocations: 4.438 kB / 0.5909 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1881, allocations: 0 / 0.5909 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.1882, allocations: 85.08 kB / 0.591 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.892e-05/0.1883, allocations: 89.03 kB / 0.5911 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.1883, allocations: 4 kB / 0.5911 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.1884, allocations: 15.44 kB / 0.5911 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.1885, allocations: 11.98 kB / 0.5911 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.1885, allocations: 4 kB / 0.5911 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.946e-05/0.1886, allocations: 79.28 kB / 0.5912 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1886, allocations: 0 / 0.5912 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000192/0.1888, allocations: 16 kB / 0.5912 GB, free: 14.59 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004227/0.1892, allocations: 0.6318 MB / 0.5918 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001146/0.1893, allocations: 27.98 kB / 0.5919 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1893, allocations: 0 / 0.5919 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.291e-05/0.1894, allocations: 24.2 kB / 0.5919 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001115/0.1895, allocations: 0 / 0.5919 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006692/0.1902, allocations: 398.7 kB / 0.5923 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.1905, allocations: 0.6811 MB / 0.5929 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.571e-05/0.1905, allocations: 15.86 kB / 0.593 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.263e-05/0.1906, allocations: 15.42 kB / 0.593 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1906, allocations: 0 / 0.593 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01165/0.2023, allocations: 1.51 MB / 0.5944 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/0.2025, allocations: 207.4 kB / 0.5946 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/1.791, allocations: 0 / 0.5946 GB, free: 11.17 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart_fmu --startTime=-3.1536e+07 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) Environment - environmentSimulation: