Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.254/2.254, allocations: 251 MB / 265.9 MB, free: 11.67 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001556/0.001556, allocations: 169.7 kB / 325.5 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.438/2.438, allocations: 205.4 MB / 0.5764 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001218/0.001217, allocations: 100.1 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004864/0.0004862, allocations: 12.03 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2338, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2339/0.4678, allocations: 132.2 MB / 1.028 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/0.4682, allocations: 79.95 kB / 1.028 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01266/0.4808, allocations: 2.724 MB / 1.031 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4809, allocations: 0 / 1.031 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.4809, allocations: 4 kB / 1.031 GB, free: 10.31 MB / 0.6823 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.0006016/0.4815, allocations: 351.2 kB / 1.031 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.4816, allocations: 8.031 kB / 1.031 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.496e-05/0.4816, allocations: 42.55 kB / 1.031 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.4817, allocations: 4 kB / 1.031 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.4819, allocations: 166.9 kB / 1.031 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.4819, allocations: 4 kB / 1.031 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.4819, allocations: 0 / 1.031 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.4821, allocations: 76.17 kB / 1.031 GB, free: 9.559 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.4821, allocations: 0 / 1.031 GB, free: 9.559 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.4822, allocations: 0 / 1.031 GB, free: 9.559 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.4822, allocations: 4 kB / 1.031 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.314e-05/0.4823, allocations: 15.98 kB / 1.031 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.4827, allocations: 260.9 kB / 1.032 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.4829, allocations: 40.23 kB / 1.032 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.4829, allocations: 0 / 1.032 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001919/0.4831, allocations: 63.48 kB / 1.032 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.824e-06/0.4831, allocations: 0 / 1.032 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0003134/0.4834, allocations: 81.61 kB / 1.032 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.006e-05/0.4835, allocations: 106.8 kB / 1.032 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.4837, allocations: 101 kB / 1.032 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.4837, allocations: 25.7 kB / 1.032 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.263e-05/0.4838, allocations: 80.14 kB / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.4838, allocations: 19.75 kB / 1.032 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.4838, allocations: 7.938 kB / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.484, allocations: 314.8 kB / 1.032 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.318e-05/0.484, allocations: 8 kB / 1.032 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.132e-05/0.4841, allocations: 42.81 kB / 1.032 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.244e-05/0.4842, allocations: 8 kB / 1.032 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4842, allocations: 0 / 1.032 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001602/0.4844, allocations: 61.62 kB / 1.032 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.4844, allocations: 4 kB / 1.032 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.4844, allocations: 4.031 kB / 1.032 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.4845, allocations: 0 / 1.032 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.4846, allocations: 11.94 kB / 1.032 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.4846, allocations: 0 / 1.032 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.4848, allocations: 15.94 kB / 1.032 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.4848, allocations: 4 kB / 1.032 GB, free: 8.164 MB / 0.6823 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.0001162/0.485, allocations: 111.7 kB / 1.033 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.485, allocations: 7.906 kB / 1.033 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.417e-05/0.485, allocations: 15.48 kB / 1.033 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.4851, allocations: 0 / 1.033 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.4851, allocations: 0 / 1.033 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.4851, allocations: 0 / 1.033 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.4853, allocations: 169.6 kB / 1.033 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4853, allocations: 0 / 1.033 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.897e-05/0.4853, allocations: 7.938 kB / 1.033 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.4854, allocations: 0 / 1.033 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.4854, allocations: 7.984 kB / 1.033 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4854, allocations: 0 / 1.033 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.4854, allocations: 4 kB / 1.033 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.4856, allocations: 89.27 kB / 1.033 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.231e-05/0.4857, allocations: 89.03 kB / 1.033 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/0.4858, allocations: 4 kB / 1.033 GB, free: 7.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.4859, allocations: 7.984 kB / 1.033 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.486, allocations: 7.984 kB / 1.033 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.486, allocations: 0 / 1.033 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.277e-05/0.4861, allocations: 95.47 kB / 1.033 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.7e-07/0.4861, allocations: 0 / 1.033 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002585/0.4864, allocations: 12 kB / 1.033 GB, free: 7.449 MB / 0.6823 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.0006099/0.487, allocations: 0.628 MB / 1.034 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001689/0.4872, allocations: 31.98 kB / 1.034 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4872, allocations: 0 / 1.034 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.262e-05/0.4873, allocations: 23.92 kB / 1.034 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.4874, allocations: 3.938 kB / 1.034 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009296/0.4884, allocations: 401.1 kB / 1.034 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.4888, allocations: 0.6887 MB / 1.035 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.725e-05/0.4888, allocations: 4 kB / 1.035 GB, free: 5.578 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.216e-05/0.4889, allocations: 16.41 kB / 1.035 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of SimCode: time 9.82e-07/0.4889, allocations: 0 / 1.035 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01952/0.5084, allocations: 1.499 MB / 1.036 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002741/0.5088, allocations: 226.6 kB / 1.037 GB, free: 4.031 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.419/2.928, allocations: 0 / 1.037 GB, free: 4.031 MB / 0.6823 GB