Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_10_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.001197/0.001197, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 196.1 kB / 16.53 MB, free: 6.391 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.188/1.188, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.275/2.275, allocations: 437.1 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001257, allocations: 67.89 kB / 0.8693 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5022/0.5034, allocations: 151.6 MB / 1.017 GB, free: 2.621 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002386/0.5059, allocations: 1.458 MB / 1.019 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003827/0.5063, allocations: 191.4 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.403e-05/0.5063, allocations: 0 / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.494e-05/0.5063, allocations: 3.938 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.5065, allocations: 19.86 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/0.5067, allocations: 55.73 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.514e-05/0.5068, allocations: 59.89 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.623e-05/0.5069, allocations: 4 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.583e-05/0.5069, allocations: 31.86 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.241e-05/0.507, allocations: 19.92 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.507, allocations: 4 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.484e-05/0.507, allocations: 4 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.026e-05/0.5071, allocations: 19.91 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.277e-05/0.5071, allocations: 23.92 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.492e-05/0.5072, allocations: 50.25 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.5072, allocations: 0 / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5072, allocations: 0 / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.5072, allocations: 0 / 1.019 GB, free: 0.6797 MB / 0.7637 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.0004402/0.5077, allocations: 351.4 kB / 1.02 GB, free: 292 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.5077, allocations: 16.02 kB / 1.02 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.5078, allocations: 30.75 kB / 1.02 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.5078, allocations: 8.844 kB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.5079, allocations: 164.4 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.5079, allocations: 4.375 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.5079, allocations: 384 / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.5081, allocations: 80.75 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.5081, allocations: 3.938 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.5081, allocations: 0 / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.5081, allocations: 0 / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.083e-05/0.5082, allocations: 23.98 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003197/0.5085, allocations: 280.7 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.428e-05/0.5086, allocations: 38.58 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.242e-05/0.5087, allocations: 24.88 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.641e-06/0.5087, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001397/0.5088, allocations: 67.38 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.5088, allocations: 0 / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001889/0.509, allocations: 73.61 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.5091, allocations: 102.8 kB / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.727e-05/0.5091, allocations: 105.9 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.5092, allocations: 25.7 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.5092, allocations: 96.03 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.5092, allocations: 7.844 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.5093, allocations: 25.7 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.855e-05/0.5094, allocations: 314.8 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.697e-05/0.5094, allocations: 8 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.773e-05/0.5095, allocations: 42.56 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.965e-05/0.5095, allocations: 29.17 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5095, allocations: 4 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.27e-05/0.5096, allocations: 53.69 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.5096, allocations: 8 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.706e-06/0.5096, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.5097, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.033e-05/0.5097, allocations: 7.984 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.5097, allocations: 4 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.5098, allocations: 22.11 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.5099, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 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.5e-05/0.5099, allocations: 117.7 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.652e-05/0.51, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.829e-05/0.51, allocations: 7.5 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.51, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.51, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.51, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.5101, allocations: 177.6 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5101, allocations: 4 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.033e-05/0.5102, allocations: 4 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.5102, allocations: 0 / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.5102, allocations: 4 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.5102, allocations: 0 / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5102, allocations: 3.984 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.5103, allocations: 85.06 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.5104, allocations: 89 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.5104, allocations: 4 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.5105, allocations: 15.98 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.411e-05/0.5105, allocations: 7.875 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.5105, allocations: 3.984 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.763e-05/0.5106, allocations: 91.34 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.603e-06/0.5106, allocations: 0 / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001813/0.5108, allocations: 15.88 kB / 1.022 GB, free: 13.71 MB / 0.7794 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.0003388/0.5111, allocations: 0.6281 MB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001018/0.5112, allocations: 35.92 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.5112, allocations: 4 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.678e-05/0.5113, allocations: 12.28 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.5114, allocations: 7.984 kB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009161/0.5123, allocations: 1.165 MB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.5126, allocations: 0.6846 MB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.165e-05/0.5126, allocations: 4 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.5126, allocations: 15.44 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.5126, allocations: 3.938 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01529/0.5279, allocations: 1.758 MB / 1.026 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.035/7.563, allocations: 6.266 kB / 1.026 GB, free: 9.422 MB / 0.7794 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)