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.431/2.431, allocations: 248.7 MB / 256.2 MB, free: 7.023 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002111/0.002111, allocations: 182.2 kB / 315.4 MB, free: 3.992 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.288/2.288, allocations: 205.3 MB / 0.5662 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 92.39 kB / 0.6704 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.164e-05/2.163e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1954, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8386/1.034, allocations: 132.3 MB / 1.013 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/1.034, allocations: 81.94 kB / 1.013 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01241/1.047, allocations: 2.706 MB / 1.016 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.542e-06/1.047, allocations: 0 / 1.016 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.164e-06/1.047, allocations: 0 / 1.016 GB, free: 4.191 MB / 0.6355 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.0004294/1.047, allocations: 350.1 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/1.047, allocations: 11.97 kB / 1.016 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/1.047, allocations: 3.5 kB / 1.016 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/1.048, allocations: 169.8 kB / 1.017 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/1.048, allocations: 0 / 1.017 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/1.048, allocations: 4 kB / 1.017 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.452e-05/1.048, allocations: 19.05 kB / 1.017 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/1.048, allocations: 62.58 kB / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/1.048, allocations: 0 / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/1.048, allocations: 0 / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/1.048, allocations: 4 kB / 1.017 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004293/1.048, allocations: 238.9 kB / 1.017 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/1.049, allocations: 39.7 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.654e-05/1.049, allocations: 20.36 kB / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.567e-06/1.049, allocations: 0 / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001533/1.049, allocations: 58.61 kB / 1.017 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.773e-06/1.049, allocations: 0 / 1.017 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002196/1.049, allocations: 64.8 kB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.76e-05/1.049, allocations: 102.8 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.857e-05/1.049, allocations: 92.06 kB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/1.049, allocations: 33.7 kB / 1.017 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/1.049, allocations: 84.08 kB / 1.017 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/1.049, allocations: 14.75 kB / 1.017 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/1.049, allocations: 0 / 1.017 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001494/1.05, allocations: 322.8 kB / 1.018 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.597e-05/1.05, allocations: 9.188 kB / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.038e-05/1.05, allocations: 28.95 kB / 1.018 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.41e-05/1.05, allocations: 16.17 kB / 1.018 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/1.05, allocations: 4 kB / 1.018 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000133/1.05, allocations: 52.12 kB / 1.018 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/1.05, allocations: 4 kB / 1.018 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/1.05, allocations: 0 / 1.018 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/1.05, allocations: 0 / 1.018 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/1.05, allocations: 12.42 kB / 1.018 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.8e-06/1.05, allocations: 0 / 1.018 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/1.05, allocations: 15.97 kB / 1.018 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/1.05, allocations: 7.938 kB / 1.018 GB, free: 2.234 MB / 0.6355 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 () * 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 9.765e-05/1.05, allocations: 112.9 kB / 1.018 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000135/1.051, allocations: 56.5 kB / 1.018 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/1.051, allocations: 10.84 kB / 1.018 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.134e-05/1.051, allocations: 8.109 kB / 1.018 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/1.051, allocations: 0 / 1.018 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.051, allocations: 4 kB / 1.018 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/1.051, allocations: 3.953 kB / 1.018 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/1.051, allocations: 143.9 kB / 1.018 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.051, allocations: 0 / 1.018 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.778e-05/1.051, allocations: 8 kB / 1.018 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/1.051, allocations: 0 / 1.018 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/1.051, allocations: 3.984 kB / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/1.051, allocations: 3.938 kB / 1.018 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.051, allocations: 4 kB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/1.051, allocations: 84.08 kB / 1.018 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.998e-05/1.051, allocations: 85 kB / 1.018 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/1.051, allocations: 4 kB / 1.018 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/1.051, allocations: 11.98 kB / 1.018 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/1.051, allocations: 7 kB / 1.018 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/1.051, allocations: 3.984 kB / 1.018 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.283e-05/1.052, allocations: 86.91 kB / 1.018 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/1.052, allocations: 0 / 1.018 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002789/1.052, allocations: 8 kB / 1.018 GB, free: 1.535 MB / 0.6355 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) * 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.0004881/1.052, allocations: 0.6264 MB / 1.019 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001297/1.052, allocations: 27.5 kB / 1.019 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.052, allocations: 0 / 1.019 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.025e-05/1.053, allocations: 11.94 kB / 1.019 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/1.053, allocations: 3.984 kB / 1.019 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000411/1.053, allocations: 107.8 kB / 1.019 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/1.053, allocations: 0.6846 MB / 1.02 GB, free: 12 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.897e-05/1.053, allocations: 7.984 kB / 1.02 GB, free: 4 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.003e-05/1.054, allocations: 14.73 kB / 1.02 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of SimCode: time 7.41e-07/1.054, allocations: 0 / 1.02 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03604/1.09, allocations: 1.169 MB / 1.021 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003345/1.09, allocations: 192.2 kB / 1.021 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.37/3.46, allocations: 6.266 kB / 1.021 GB, free: 14.66 MB / 0.6511 GB