Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="BuildingSystems_BuildingSystems_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.001878/0.001878, allocations: 108 kB / 15.6 MB, free: 128 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.002072/0.002072, allocations: 193 kB / 16.53 MB, free: 6.672 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.414/1.414, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002511/0.002511, allocations: 298 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.095/1.095, allocations: 178.6 MB / 0.5073 GB, free: 4.566 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004373/0.004373, allocations: 96.22 kB / 0.6065 GB, free: 24.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1774, allocations: 89.15 MB / 0.6936 GB, free: 4.215 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002638/0.18, allocations: 1.449 MB / 0.695 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004139/0.1805, allocations: 200.5 kB / 0.6952 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.576e-05/0.1805, allocations: 1.969 kB / 0.6952 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.074e-05/0.1805, allocations: 3.984 kB / 0.6952 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.1807, allocations: 19.88 kB / 0.6952 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.1809, allocations: 58.19 kB / 0.6953 GB, free: 2.492 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.581e-05/0.181, allocations: 55.84 kB / 0.6953 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.692e-05/0.1811, allocations: 13.92 kB / 0.6954 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.036e-05/0.1812, allocations: 27.92 kB / 0.6954 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.433e-05/0.1812, allocations: 15.92 kB / 0.6954 GB, free: 2.383 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.1813, allocations: 8.625 kB / 0.6954 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.593e-05/0.1813, allocations: 4 kB / 0.6954 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.719e-05/0.1813, allocations: 16.56 kB / 0.6954 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.388e-05/0.1814, allocations: 22.09 kB / 0.6955 GB, free: 2.336 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.197e-05/0.1815, allocations: 47.8 kB / 0.6955 GB, free: 2.289 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1815, allocations: 0 / 0.6955 GB, free: 2.289 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1815, allocations: 0 / 0.6955 GB, free: 2.289 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.1815, allocations: 0 / 0.6955 GB, free: 2.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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005153/0.182, allocations: 357.5 kB / 0.6958 GB, free: 1.891 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.1821, allocations: 8.031 kB / 0.6958 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.421e-05/0.1821, allocations: 34.75 kB / 0.6959 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.987e-05/0.1822, allocations: 4.844 kB / 0.6959 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.1823, allocations: 176.3 kB / 0.6961 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.1823, allocations: 4.375 kB / 0.6961 GB, free: 1.621 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.1823, allocations: 4.375 kB / 0.6961 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.1825, allocations: 68.81 kB / 0.6961 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.1825, allocations: 3.938 kB / 0.6961 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.1825, allocations: 8 kB / 0.6961 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1825, allocations: 0 / 0.6961 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.45e-05/0.1826, allocations: 15.98 kB / 0.6962 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003605/0.183, allocations: 272.8 kB / 0.6964 GB, free: 1.191 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.412e-05/0.1831, allocations: 38.56 kB / 0.6964 GB, free: 1.145 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.857e-05/0.1831, allocations: 20.86 kB / 0.6965 GB, free: 1.121 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.1831, allocations: 3.984 kB / 0.6965 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001553/0.1833, allocations: 75.33 kB / 0.6965 GB, free: 1.031 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.1833, allocations: 0 / 0.6965 GB, free: 1.031 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002/0.1835, allocations: 69.67 kB / 0.6966 GB, free: 0.957 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.435e-05/0.1836, allocations: 106.8 kB / 0.6967 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.738e-05/0.1837, allocations: 105.8 kB / 0.6968 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.1837, allocations: 25.7 kB / 0.6968 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/0.1838, allocations: 88.08 kB / 0.6969 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.1838, allocations: 15.75 kB / 0.6969 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/0.1838, allocations: 25.7 kB / 0.697 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.184, allocations: 322.8 kB / 0.6973 GB, free: 228 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.293e-05/0.184, allocations: 12 kB / 0.6973 GB, free: 216 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.64e-05/0.1841, allocations: 34.5 kB / 0.6973 GB, free: 172 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.429e-05/0.1841, allocations: 24.86 kB / 0.6973 GB, free: 144 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1841, allocations: 0 / 0.6973 GB, free: 144 kB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001056/0.1843, allocations: 57.69 kB / 0.6974 GB, free: 80 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.1843, allocations: 7.938 kB / 0.6974 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.1843, allocations: 4.031 kB / 0.6974 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.1843, allocations: 0 / 0.6974 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.247e-05/0.1844, allocations: 8 kB / 0.6974 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1844, allocations: 0 / 0.6974 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.1845, allocations: 17.33 kB / 0.6974 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1845, allocations: 4 kB / 0.6974 GB, free: 40 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: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * 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 0.0001059/0.1846, allocations: 113.8 kB / 0.6975 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.1847, allocations: 11.89 kB / 0.6976 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.803e-05/0.1847, allocations: 7.5 kB / 0.6976 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.1847, allocations: 0 / 0.6976 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1847, allocations: 4.438 kB / 0.6976 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1847, allocations: 0 / 0.6976 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.1849, allocations: 177.6 kB / 0.6977 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.1849, allocations: 4 kB / 0.6977 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.392e-05/0.1849, allocations: 4 kB / 0.6977 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1849, allocations: 0 / 0.6977 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.1849, allocations: 0 / 0.6977 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1849, allocations: 0 / 0.6977 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1849, allocations: 0 / 0.6977 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.1851, allocations: 101 kB / 0.6978 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.385e-05/0.1852, allocations: 81.09 kB / 0.6979 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.1852, allocations: 8 kB / 0.6979 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.1853, allocations: 7.984 kB / 0.6979 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/0.1853, allocations: 0 / 0.6979 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.1854, allocations: 4 kB / 0.6979 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.535e-05/0.1854, allocations: 87.27 kB / 0.698 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1854, allocations: 7.938 kB / 0.698 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002095/0.1856, allocations: 12 kB / 0.698 GB, free: 15.32 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 (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.0004827/0.1861, allocations: 0.6319 MB / 0.6987 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001187/0.1863, allocations: 32.2 kB / 0.6987 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1863, allocations: 0 / 0.6987 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.896e-05/0.1863, allocations: 16 kB / 0.6987 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.1865, allocations: 4.844 kB / 0.6987 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.1876, allocations: 1.18 MB / 0.6999 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.1879, allocations: 0.6768 MB / 0.7005 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.36e-05/0.188, allocations: 11.98 kB / 0.7005 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.39e-05/0.188, allocations: 11.44 kB / 0.7005 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.188, allocations: 0 / 0.7005 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/0.2106, allocations: 1.778 MB / 0.7023 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.585/7.796, allocations: 17.67 kB / 0.7023 GB, free: 11 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.csv --start-time -3.1536e+07 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 25228.8 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)