Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.ConvertTimePositiveStart,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",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.456/2.456, allocations: 251 MB / 265.9 MB, free: 11.7 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.001695/0.001695, allocations: 186.2 kB / 325.5 MB, free: 2.91 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.419/2.419, allocations: 205.4 MB / 0.5764 GB, free: 20.83 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.001231/0.001231, allocations: 99.72 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005145/0.0005146, allocations: 13.03 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.221, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2256/0.4466, allocations: 132.2 MB / 1.028 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004138/0.447, allocations: 87.92 kB / 1.028 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01279/0.4598, allocations: 2.72 MB / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4599, allocations: 0 / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.4599, allocations: 4 kB / 1.031 GB, free: 10.32 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.0005414/0.4605, allocations: 351.2 kB / 1.031 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.4605, allocations: 12.03 kB / 1.031 GB, free: 9.922 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.449e-05/0.4606, allocations: 34.56 kB / 1.031 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.4606, allocations: 4 kB / 1.031 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.4608, allocations: 170.9 kB / 1.031 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.4608, allocations: 4 kB / 1.031 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.4609, allocations: 0 / 1.031 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.461, allocations: 72.19 kB / 1.031 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.4611, allocations: 4 kB / 1.031 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.4611, allocations: 0 / 1.031 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.4611, allocations: 0 / 1.031 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.196e-05/0.4612, allocations: 12 kB / 1.031 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000407/0.4616, allocations: 268.9 kB / 1.032 GB, free: 9.25 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.4618, allocations: 48.16 kB / 1.032 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.4618, allocations: 3.984 kB / 1.032 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001877/0.462, allocations: 63.48 kB / 1.032 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.844e-06/0.462, allocations: 0 / 1.032 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0002823/0.4623, allocations: 81.61 kB / 1.032 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/0.4624, allocations: 106.8 kB / 1.032 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.9e-05/0.4625, allocations: 97 kB / 1.032 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.4625, allocations: 25.7 kB / 1.032 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.4626, allocations: 84.12 kB / 1.032 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.4626, allocations: 23.75 kB / 1.032 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.4626, allocations: 0 / 1.032 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.4628, allocations: 310.8 kB / 1.032 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.583e-05/0.4628, allocations: 11.98 kB / 1.032 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.902e-05/0.4629, allocations: 34.58 kB / 1.032 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.798e-05/0.463, allocations: 8 kB / 1.032 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.463, allocations: 0 / 1.032 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001569/0.4632, allocations: 61.66 kB / 1.032 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.4632, allocations: 9.719 kB / 1.032 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.4632, allocations: 0 / 1.032 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.4632, allocations: 3.938 kB / 1.032 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.846e-05/0.4633, allocations: 11.98 kB / 1.032 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.4633, allocations: 0 / 1.032 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.4635, allocations: 15.94 kB / 1.032 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.4636, allocations: 0 / 1.032 GB, free: 8.18 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.0001069/0.4637, allocations: 117.8 kB / 1.033 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/0.4637, allocations: 3.906 kB / 1.033 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/0.4638, allocations: 11.5 kB / 1.033 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.4638, allocations: 0 / 1.033 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4638, allocations: 0 / 1.033 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4638, allocations: 0 / 1.033 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.464, allocations: 169.6 kB / 1.033 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.464, allocations: 0 / 1.033 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.914e-05/0.464, allocations: 4 kB / 1.033 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.464, allocations: 0 / 1.033 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.4641, allocations: 8.375 kB / 1.033 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.4641, allocations: 4 kB / 1.033 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4641, allocations: 0 / 1.033 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.4643, allocations: 93.06 kB / 1.033 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.316e-05/0.4644, allocations: 89 kB / 1.033 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.4644, allocations: 4 kB / 1.033 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.4646, allocations: 7.984 kB / 1.033 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.4646, allocations: 11.94 kB / 1.033 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.4647, allocations: 0 / 1.033 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.76e-05/0.4647, allocations: 91.27 kB / 1.033 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.41e-07/0.4647, allocations: 0 / 1.033 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000263/0.465, allocations: 12 kB / 1.033 GB, free: 7.465 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.000607/0.4656, allocations: 0.633 MB / 1.034 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001597/0.4658, allocations: 28.27 kB / 1.034 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4658, allocations: 0 / 1.034 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.187e-05/0.4659, allocations: 19.94 kB / 1.034 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.466, allocations: 0 / 1.034 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008512/0.4669, allocations: 408.2 kB / 1.034 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.4673, allocations: 0.6848 MB / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.607e-05/0.4673, allocations: 4 kB / 1.035 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/0.4674, allocations: 15.38 kB / 1.035 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of SimCode: time 6.71e-07/0.4674, allocations: 0 / 1.035 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02015/0.4875, allocations: 1.512 MB / 1.036 GB, free: 4.285 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003176/0.4879, allocations: 222.6 kB / 1.037 GB, free: 4.043 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.379/2.867, allocations: 0 / 1.037 GB, free: 4.043 MB / 0.6823 GB