Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_8_Buildings_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.00142/0.00142, allocations: 109.4 kB / 15.69 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.002059/0.002059, allocations: 188.8 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.665/1.665, allocations: 292.3 MB / 0.549 GB, free: 12.76 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 68.7 kB / 0.6718 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2073, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002566/0.2099, allocations: 1.447 MB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004179/0.2103, allocations: 175.4 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.664e-05/0.2104, allocations: 0 / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.988e-05/0.2104, allocations: 0 / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002213/0.2107, allocations: 23.84 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.2109, allocations: 51.86 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.211, allocations: 55.84 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.968e-05/0.2111, allocations: 4 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.706e-05/0.2111, allocations: 27.97 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.914e-05/0.2112, allocations: 15.92 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.2112, allocations: 4 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.34e-05/0.2113, allocations: 4 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.709e-05/0.2113, allocations: 15.92 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.699e-05/0.2113, allocations: 23.91 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.53e-05/0.2114, allocations: 44.11 kB / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2115, allocations: 0 / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2115, allocations: 0 / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.2115, allocations: 0 / 0.7855 GB, free: 11.35 MB / 0.6075 GB 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.0005253/0.212, allocations: 343.5 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.2121, allocations: 12.03 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.402e-05/0.2121, allocations: 30.75 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.261e-05/0.2121, allocations: 0.9375 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.2123, allocations: 184.2 kB / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.2123, allocations: 384 / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.2123, allocations: 4.375 kB / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.2125, allocations: 76.75 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.2125, allocations: 3.938 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.2125, allocations: 0 / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.2125, allocations: 0 / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.03e-05/0.2126, allocations: 12 kB / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000409/0.213, allocations: 268.9 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.477e-05/0.2131, allocations: 46.45 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.59e-05/0.2131, allocations: 24.86 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.2131, allocations: 0 / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.2133, allocations: 63.39 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.2133, allocations: 0 / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002158/0.2135, allocations: 77.53 kB / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/0.2136, allocations: 106.8 kB / 0.7867 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.337e-05/0.2137, allocations: 113.9 kB / 0.7868 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.2137, allocations: 25.7 kB / 0.7868 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.198e-05/0.2138, allocations: 84.12 kB / 0.7869 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.2138, allocations: 11.91 kB / 0.7869 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-05/0.2139, allocations: 17.72 kB / 0.7869 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.214, allocations: 318.8 kB / 0.7872 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.849e-05/0.214, allocations: 8 kB / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.777e-05/0.2141, allocations: 38.56 kB / 0.7873 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.876e-05/0.2141, allocations: 24.8 kB / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2141, allocations: 0 / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000105/0.2143, allocations: 65.62 kB / 0.7873 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.2143, allocations: 4 kB / 0.7873 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.2143, allocations: 0 / 0.7873 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.2143, allocations: 4 kB / 0.7874 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.635e-05/0.2144, allocations: 7.984 kB / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.2144, allocations: 0 / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.2145, allocations: 7.906 kB / 0.7874 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.2145, allocations: 12.02 kB / 0.7874 GB, free: 9.121 MB / 0.6075 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 (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 8.72e-05/0.2146, allocations: 118.4 kB / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.2146, allocations: 3.938 kB / 0.7875 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.949e-05/0.2146, allocations: 3.5 kB / 0.7875 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.2147, allocations: 4 kB / 0.7875 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2147, allocations: 0 / 0.7875 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2147, allocations: 0 / 0.7875 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.2148, allocations: 177.5 kB / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2148, allocations: 0 / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.022e-05/0.2148, allocations: 4.438 kB / 0.7877 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2148, allocations: 4 kB / 0.7877 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.2149, allocations: 0 / 0.7877 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.2149, allocations: 11.92 kB / 0.7877 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2149, allocations: 0 / 0.7877 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.215, allocations: 93.05 kB / 0.7878 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.893e-05/0.2151, allocations: 89 kB / 0.7879 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.2151, allocations: 4 kB / 0.7879 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.954e-05/0.2152, allocations: 12.92 kB / 0.7879 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.257e-05/0.2152, allocations: 0 / 0.7879 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.2153, allocations: 7.938 kB / 0.7879 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.515e-05/0.2153, allocations: 87.27 kB / 0.788 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2153, allocations: 0 / 0.788 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001832/0.2155, allocations: 8 kB / 0.788 GB, free: 8.406 MB / 0.6075 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.0004044/0.2159, allocations: 0.636 MB / 0.7886 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001229/0.2161, allocations: 36.02 kB / 0.7886 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2161, allocations: 0 / 0.7886 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.843e-05/0.2161, allocations: 15.94 kB / 0.7886 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.2163, allocations: 7.047 kB / 0.7887 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.2174, allocations: 1.168 MB / 0.7898 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.2177, allocations: 0.6807 MB / 0.7905 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.14e-05/0.2177, allocations: 8 kB / 0.7905 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.046e-05/0.2178, allocations: 7.438 kB / 0.7905 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2178, allocations: 0 / 0.7905 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01815/0.2359, allocations: 1.773 MB / 0.7922 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.555/7.791, allocations: 9.812 kB / 0.7922 GB, free: 4.121 MB / 0.6075 GB (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.csv --start-time -3.1536e+07 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)