Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_9_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.007099/0.007099, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001744/0.001744, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.259/1.259, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.105/2.105, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 59.91 kB / 0.9504 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7012/0.7024, allocations: 140.4 MB / 1.087 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.00224/0.7047, allocations: 1.442 MB / 1.089 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003626/0.7051, allocations: 191.6 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.667e-05/0.7051, allocations: 0 / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.626e-05/0.7052, allocations: 4.594 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001978/0.7054, allocations: 24.81 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.7056, allocations: 54.53 kB / 1.089 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.088e-05/0.7057, allocations: 55.36 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.604e-05/0.7057, allocations: 9.344 kB / 1.089 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.038e-05/0.7058, allocations: 31.52 kB / 1.089 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.455e-05/0.7059, allocations: 26.98 kB / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.7059, allocations: 4.219 kB / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.332e-05/0.7059, allocations: 4.375 kB / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.467e-05/0.7059, allocations: 10.33 kB / 1.089 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.173e-05/0.706, allocations: 21.23 kB / 1.089 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.554e-05/0.7061, allocations: 55.41 kB / 1.089 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.7061, allocations: 1.062 kB / 1.089 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.002e-06/0.7061, allocations: 0 / 1.089 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.237e-06/0.7061, allocations: 0 / 1.089 GB, free: 3.977 MB / 0.8575 GB 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.0004138/0.7065, allocations: 352 kB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.7066, allocations: 10.23 kB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.967e-05/0.7066, allocations: 32.42 kB / 1.09 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.073e-05/0.7066, allocations: 6.812 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.514e-05/0.7067, allocations: 173.5 kB / 1.09 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.7067, allocations: 9.469 kB / 1.09 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.7068, allocations: 2.625 kB / 1.09 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.7069, allocations: 75.06 kB / 1.09 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.7069, allocations: 3.938 kB / 1.09 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.7069, allocations: 1.781 kB / 1.09 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.7069, allocations: 1.375 kB / 1.09 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.189e-05/0.707, allocations: 19.25 kB / 1.09 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002726/0.7073, allocations: 282.6 kB / 1.09 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.081e-05/0.7074, allocations: 37.95 kB / 1.09 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.253e-05/0.7074, allocations: 18.06 kB / 1.09 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-06/0.7074, allocations: 0 / 1.09 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001394/0.7076, allocations: 58.89 kB / 1.09 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.7076, allocations: 4 kB / 1.09 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001899/0.7078, allocations: 82.98 kB / 1.09 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.7078, allocations: 104.7 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.378e-05/0.7079, allocations: 104.4 kB / 1.091 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.7079, allocations: 26.45 kB / 1.091 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.51e-05/0.7079, allocations: 85.81 kB / 1.091 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.7079, allocations: 7.266 kB / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.708, allocations: 22.5 kB / 1.091 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.553e-05/0.708, allocations: 321.2 kB / 1.091 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.984e-05/0.7081, allocations: 11.45 kB / 1.091 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.519e-05/0.7081, allocations: 36.23 kB / 1.091 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.021e-05/0.7082, allocations: 27.77 kB / 1.091 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.7082, allocations: 0.9688 kB / 1.091 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.18e-05/0.7083, allocations: 59.12 kB / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.7083, allocations: 9.531 kB / 1.091 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.7083, allocations: 0.6562 kB / 1.091 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.7083, allocations: 4.781 kB / 1.091 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.253e-05/0.7084, allocations: 7.312 kB / 1.091 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.7084, allocations: 4 kB / 1.091 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.7085, allocations: 8.906 kB / 1.091 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.7085, allocations: 9.516 kB / 1.091 GB, free: 2.027 MB / 0.8575 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 5.698e-05/0.7086, allocations: 118.5 kB / 1.091 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.7086, allocations: 2.5 kB / 1.091 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.989e-05/0.7086, allocations: 9.266 kB / 1.091 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.7086, allocations: 1.125 kB / 1.091 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.7086, allocations: 4.984 kB / 1.091 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.7086, allocations: 0 / 1.091 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.392e-05/0.7087, allocations: 176.2 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.7087, allocations: 1.703 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.174e-05/0.7088, allocations: 3.312 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.7088, allocations: 0.5156 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.7088, allocations: 1.938 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.7088, allocations: 0 / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.7088, allocations: 0.5156 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.7089, allocations: 97.16 kB / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/0.709, allocations: 87.97 kB / 1.092 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.709, allocations: 1.688 kB / 1.092 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.7091, allocations: 12.66 kB / 1.092 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.951e-05/0.7091, allocations: 8.234 kB / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.7091, allocations: 1.609 kB / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.027e-05/0.7092, allocations: 86.39 kB / 1.092 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7092, allocations: 0 / 1.092 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001914/0.7094, allocations: 14.41 kB / 1.092 GB, free: 1.414 MB / 0.8575 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.0003135/0.7097, allocations: 0.6272 MB / 1.093 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001116/0.7098, allocations: 33.23 kB / 1.093 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.7098, allocations: 1.125 kB / 1.093 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.941e-05/0.7099, allocations: 14 kB / 1.093 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.71, allocations: 11.44 kB / 1.093 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009204/0.711, allocations: 1.17 MB / 1.094 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.7112, allocations: 0.6799 MB / 1.094 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.83e-05/0.7112, allocations: 5.609 kB / 1.094 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/0.7113, allocations: 14.89 kB / 1.094 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.7113, allocations: 0.6875 kB / 1.094 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01707/0.7283, allocations: 1.777 MB / 1.096 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.024/7.753, allocations: 7.703 kB / 1.096 GB, free: 14.59 MB / 0.8731 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.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 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)