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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001215/0.001215, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001245/0.001245, allocations: 191.2 kB / 16.25 MB, free: 6.633 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 / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.317/2.317, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 66.69 kB / 0.8987 GB, free: 37.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2194, allocations: 157.4 MB / 1.052 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002196/0.2216, allocations: 1.527 MB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003288/0.222, allocations: 191.4 kB / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.96e-05/0.222, allocations: 0 / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.691e-05/0.2221, allocations: 0 / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000172/0.2222, allocations: 23.84 kB / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001538/0.2224, allocations: 51.06 kB / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.264e-05/0.2225, allocations: 63.78 kB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.261e-05/0.2226, allocations: 4 kB / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.445e-05/0.2226, allocations: 23.98 kB / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.865e-05/0.2227, allocations: 23.91 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.2227, allocations: 4 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.232e-05/0.2227, allocations: 4 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.128e-05/0.2227, allocations: 15.92 kB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.51e-05/0.2228, allocations: 19.92 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.959e-05/0.2229, allocations: 52.08 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.2229, allocations: 0 / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2229, allocations: 4 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.2229, allocations: 0 / 1.054 GB, free: 6.629 MB / 0.8106 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.0004303/0.2233, allocations: 352.9 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.2234, allocations: 12.03 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.374e-05/0.2234, allocations: 30.75 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.2234, allocations: 4.938 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.78e-05/0.2235, allocations: 172.2 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.2235, allocations: 4.375 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.2236, allocations: 8.359 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.2237, allocations: 72.83 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.2237, allocations: 7.922 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.2237, allocations: 0 / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.2237, allocations: 0 / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.214e-05/0.2238, allocations: 19.94 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002925/0.2241, allocations: 280.9 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.195e-05/0.2242, allocations: 34.58 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.124e-05/0.2242, allocations: 16.94 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.2242, allocations: 0 / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001176/0.2243, allocations: 67.33 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.2244, allocations: 0 / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001749/0.2245, allocations: 81.66 kB / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.2246, allocations: 106.8 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.347e-05/0.2247, allocations: 105.8 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.2247, allocations: 29.64 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.104e-05/0.2247, allocations: 92.05 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.2247, allocations: 7.844 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.2248, allocations: 21.7 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.587e-05/0.2249, allocations: 322.8 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.684e-05/0.2249, allocations: 11.94 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.778e-05/0.225, allocations: 38.56 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.528e-05/0.225, allocations: 24.84 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.225, allocations: 4 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.9e-05/0.2251, allocations: 53.61 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.2251, allocations: 4 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.2251, allocations: 4 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.2252, allocations: 3.984 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.877e-05/0.2252, allocations: 12.41 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.798e-06/0.2252, allocations: 0 / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.2253, allocations: 19.98 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.2254, allocations: 0 / 1.056 GB, free: 4.375 MB / 0.8106 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.275e-05/0.2254, allocations: 113.8 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/0.2254, allocations: 0 / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.894e-05/0.2255, allocations: 11.5 kB / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.2255, allocations: 0 / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2255, allocations: 4 kB / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2255, allocations: 3.984 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.2256, allocations: 169.6 kB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2256, allocations: 0 / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.193e-05/0.2256, allocations: 4 kB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2256, allocations: 0 / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.2257, allocations: 3.984 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2257, allocations: 0 / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2257, allocations: 0 / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.2258, allocations: 100.9 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.944e-05/0.2258, allocations: 85.09 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.2259, allocations: 3.938 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.226, allocations: 11.98 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.551e-05/0.226, allocations: 7.984 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.226, allocations: 0 / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.685e-05/0.2261, allocations: 83.28 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2261, allocations: 4 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001787/0.2262, allocations: 8 kB / 1.057 GB, free: 3.676 MB / 0.8106 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.0003301/0.2266, allocations: 0.6336 MB / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.883e-05/0.2267, allocations: 35.92 kB / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2267, allocations: 0 / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.845e-05/0.2267, allocations: 19.98 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.2269, allocations: 4 kB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008812/0.2278, allocations: 1.181 MB / 1.059 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.228, allocations: 0.6807 MB / 1.059 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.477e-05/0.228, allocations: 8.078 kB / 1.059 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.228, allocations: 19.42 kB / 1.059 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.228, allocations: 0 / 1.059 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.759/2.987, allocations: 1.663 MB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002343/2.987, allocations: 253.1 kB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/4.908, allocations: 0 / 1.061 GB, free: 15.24 MB / 0.8262 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=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)