Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.ConvertTimePositiveStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",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.004688/0.004688, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001557/0.001557, allocations: 201.8 kB / 16.68 MB, free: 5.969 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.651/2.651, allocations: 482.6 MB / 0.755 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 67.89 kB / 1.083 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2799, allocations: 162.3 MB / 1.242 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002214/0.2822, allocations: 1.451 MB / 1.243 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003637/0.2826, allocations: 191.4 kB / 1.243 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.209e-05/0.2826, allocations: 0 / 1.243 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.095e-05/0.2826, allocations: 3.938 kB / 1.243 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.2828, allocations: 23.84 kB / 1.243 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00016/0.283, allocations: 55.86 kB / 1.244 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.924e-05/0.2831, allocations: 63.77 kB / 1.244 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.686e-05/0.2831, allocations: 15.98 kB / 1.244 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.202e-05/0.2832, allocations: 16 kB / 1.244 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.33e-05/0.2833, allocations: 19.91 kB / 1.244 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.2833, allocations: 4 kB / 1.244 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.609e-05/0.2833, allocations: 4 kB / 1.244 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.711e-05/0.2833, allocations: 23.91 kB / 1.244 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.2834, allocations: 15.94 kB / 1.244 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.912e-05/0.2835, allocations: 51.8 kB / 1.244 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.2835, allocations: 0 / 1.244 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2835, allocations: 0 / 1.244 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.2835, allocations: 4 kB / 1.244 GB, free: 7.906 MB / 0.9981 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.0004489/0.2839, allocations: 351.4 kB / 1.244 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.284, allocations: 8.031 kB / 1.244 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.1e-05/0.284, allocations: 34.75 kB / 1.244 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.803e-05/0.284, allocations: 8.891 kB / 1.244 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.2842, allocations: 176.3 kB / 1.244 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.2842, allocations: 384 / 1.244 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.2842, allocations: 4.375 kB / 1.244 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.2843, allocations: 76.81 kB / 1.244 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.2844, allocations: 3.938 kB / 1.244 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.2844, allocations: 0 / 1.244 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.2844, allocations: 4 kB / 1.244 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.837e-05/0.2844, allocations: 15.98 kB / 1.244 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003092/0.2847, allocations: 280.8 kB / 1.245 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.386e-05/0.2848, allocations: 46.5 kB / 1.245 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.296e-05/0.2849, allocations: 16.86 kB / 1.245 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.333e-06/0.2849, allocations: 0 / 1.245 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001293/0.285, allocations: 63.42 kB / 1.245 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.285, allocations: 0 / 1.245 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.000184/0.2852, allocations: 69.67 kB / 1.245 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.2853, allocations: 106.8 kB / 1.245 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.638e-05/0.2854, allocations: 109.8 kB / 1.245 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.2854, allocations: 25.7 kB / 1.245 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/0.2854, allocations: 92.03 kB / 1.245 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.2855, allocations: 7.953 kB / 1.245 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.2855, allocations: 29.64 kB / 1.245 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.2856, allocations: 314.8 kB / 1.246 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.774e-05/0.2856, allocations: 11.98 kB / 1.246 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.689e-05/0.2857, allocations: 42.5 kB / 1.246 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.688e-05/0.2858, allocations: 24.86 kB / 1.246 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2858, allocations: 0 / 1.246 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.488e-05/0.2859, allocations: 62.08 kB / 1.246 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.318e-06/0.2859, allocations: 8 kB / 1.246 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/0.2859, allocations: 0 / 1.246 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.2859, allocations: 0 / 1.246 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.148e-05/0.2859, allocations: 4 kB / 1.246 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.286, allocations: 8 kB / 1.246 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.545e-05/0.2861, allocations: 17.2 kB / 1.246 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.2861, allocations: 0 / 1.246 GB, free: 5.656 MB / 0.9981 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 7.674e-05/0.2862, allocations: 117.8 kB / 1.246 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.2862, allocations: 7.984 kB / 1.246 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.568e-05/0.2862, allocations: 3.5 kB / 1.246 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.2862, allocations: 0 / 1.246 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.2862, allocations: 0 / 1.246 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.2862, allocations: 0 / 1.246 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.2863, allocations: 173.6 kB / 1.246 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2864, allocations: 7.984 kB / 1.246 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.991e-05/0.2864, allocations: 4 kB / 1.246 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.2864, allocations: 3.938 kB / 1.246 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.2864, allocations: 8 kB / 1.246 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2864, allocations: 0 / 1.246 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.2864, allocations: 0 / 1.246 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.2865, allocations: 92.94 kB / 1.246 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.409e-05/0.2866, allocations: 85.11 kB / 1.246 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.2866, allocations: 7.984 kB / 1.246 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.204e-05/0.2867, allocations: 8 kB / 1.246 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.518e-05/0.2867, allocations: 3.984 kB / 1.246 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.2868, allocations: 8 kB / 1.246 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.491e-05/0.2868, allocations: 83.27 kB / 1.246 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2868, allocations: 0 / 1.246 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001717/0.287, allocations: 12 kB / 1.246 GB, free: 4.941 MB / 0.9981 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.0003864/0.2874, allocations: 0.6366 MB / 1.247 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.899e-05/0.2875, allocations: 35.92 kB / 1.247 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.2875, allocations: 0 / 1.247 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.446e-05/0.2875, allocations: 12 kB / 1.247 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.2877, allocations: 15.88 kB / 1.247 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009372/0.2886, allocations: 1.18 MB / 1.248 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.2889, allocations: 0.6846 MB / 1.249 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.109e-05/0.2889, allocations: 4 kB / 1.249 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.89e-05/0.2889, allocations: 11.44 kB / 1.249 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of SimCode: time 2.7e-07/0.2889, allocations: 0 / 1.249 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.438/1.727, allocations: 1.788 MB / 1.251 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/13.26, allocations: 12.48 kB / 1.251 GB, free: 0.6055 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)