Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_latest_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.001236/0.001236, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00117/0.00117, allocations: 192.2 kB / 16.25 MB, free: 6.621 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.209/1.209, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.409/2.409, allocations: 461.9 MB / 0.7343 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 64.44 kB / 0.8987 GB, free: 37.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2264, allocations: 157.4 MB / 1.052 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.00236/0.2288, allocations: 1.523 MB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000339/0.2292, allocations: 195.4 kB / 1.054 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/0.2292, allocations: 0 / 1.054 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.659e-05/0.2292, allocations: 0 / 1.054 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.2294, allocations: 26.97 kB / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001607/0.2296, allocations: 55.94 kB / 1.054 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.486e-05/0.2297, allocations: 55.78 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.482e-05/0.2298, allocations: 8 kB / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.598e-05/0.2298, allocations: 23.97 kB / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.843e-05/0.2299, allocations: 19.91 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.2299, allocations: 4 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.239e-05/0.2299, allocations: 4 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.965e-05/0.2299, allocations: 11.94 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.071e-05/0.23, allocations: 27.91 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.639e-05/0.2301, allocations: 48.09 kB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.2301, allocations: 0 / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2301, allocations: 0 / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.2301, allocations: 0 / 1.054 GB, free: 6.637 MB / 0.8106 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.0004462/0.2305, allocations: 355.4 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.2306, allocations: 8.031 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.266e-05/0.2306, allocations: 30.75 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.887e-05/0.2307, allocations: 4.938 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.2308, allocations: 184.2 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.2308, allocations: 8.312 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.2308, allocations: 8.359 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.2309, allocations: 68.81 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.231, allocations: 3.938 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.231, allocations: 4 kB / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.231, allocations: 4 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.03e-05/0.231, allocations: 19.94 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002987/0.2313, allocations: 272.9 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.986e-05/0.2314, allocations: 38.56 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.671e-05/0.2315, allocations: 16.86 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.385e-06/0.2315, allocations: 0 / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001303/0.2316, allocations: 71.42 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2316, allocations: 3.938 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001732/0.2318, allocations: 69.67 kB / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.2319, allocations: 102.8 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.493e-05/0.232, allocations: 105.8 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.232, allocations: 33.7 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.2321, allocations: 84.05 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/0.2321, allocations: 7.844 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.2321, allocations: 29.7 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.469e-05/0.2322, allocations: 318.8 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.057e-05/0.2323, allocations: 15.98 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.965e-05/0.2323, allocations: 30.52 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.7e-05/0.2324, allocations: 28.84 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.2324, allocations: 0 / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.267e-05/0.2325, allocations: 65.59 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.2325, allocations: 4 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.2325, allocations: 4.031 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.2325, allocations: 0 / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.8e-05/0.2326, allocations: 11.94 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.2326, allocations: 0 / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.2327, allocations: 9.391 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.2327, allocations: 448 / 1.056 GB, free: 4.387 MB / 0.8106 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.067e-05/0.2328, allocations: 119.3 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/0.2328, allocations: 4 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.818e-05/0.2328, allocations: 11.48 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.2328, allocations: 0 / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.2328, allocations: 4 kB / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.2328, allocations: 0 / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.233, allocations: 173.6 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.233, allocations: 0 / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.104e-05/0.233, allocations: 7.922 kB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.233, allocations: 0 / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.233, allocations: 4 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.233, allocations: 0 / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.233, allocations: 0 / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.2332, allocations: 105 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.568e-05/0.2332, allocations: 89.09 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.2332, allocations: 0 / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.2334, allocations: 11.98 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.58e-05/0.2334, allocations: 3.984 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.2334, allocations: 4 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.91e-05/0.2334, allocations: 83.28 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2335, allocations: 4 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000182/0.2336, allocations: 12 kB / 1.057 GB, free: 3.668 MB / 0.8106 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.0003585/0.234, allocations: 0.6241 MB / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.2341, allocations: 35.92 kB / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2341, allocations: 0 / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.716e-05/0.2342, allocations: 19.98 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.2343, allocations: 4 kB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009219/0.2352, allocations: 1.18 MB / 1.059 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.2355, allocations: 0.6807 MB / 1.059 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.435e-05/0.2355, allocations: 8 kB / 1.059 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.2355, allocations: 11.42 kB / 1.059 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.2355, allocations: 0 / 1.059 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9701/1.206, allocations: 1.679 MB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/1.206, allocations: 248 kB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/2.74, allocations: 0 / 1.061 GB, free: 15.24 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart_fmu --startTime=-3.1536e+07 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)