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.001385/0.001385, allocations: 108 kB / 15.61 MB, free: 152 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.001583/0.001583, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.204/1.204, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.414/2.414, allocations: 461.9 MB / 0.7346 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 65.2 kB / 0.8992 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2122, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002103/0.2143, allocations: 1.468 MB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003356/0.2146, allocations: 187.4 kB / 1.055 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.218e-05/0.2147, allocations: 0 / 1.055 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.908e-05/0.2147, allocations: 0 / 1.055 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.2149, allocations: 27.84 kB / 1.055 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001505/0.2151, allocations: 55.23 kB / 1.055 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.509e-05/0.2151, allocations: 63.78 kB / 1.055 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.07e-05/0.2152, allocations: 11.98 kB / 1.055 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.974e-05/0.2153, allocations: 19.98 kB / 1.055 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.038e-05/0.2153, allocations: 15.92 kB / 1.055 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.2154, allocations: 4 kB / 1.055 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.329e-05/0.2154, allocations: 4 kB / 1.055 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.386e-05/0.2154, allocations: 19.91 kB / 1.055 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.418e-05/0.2155, allocations: 23.92 kB / 1.055 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.796e-05/0.2155, allocations: 48.08 kB / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.2155, allocations: 4 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.42e-07/0.2156, allocations: 0 / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.2156, allocations: 0 / 1.055 GB, free: 6.32 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.0004047/0.216, allocations: 351.4 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.216, allocations: 11.97 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.164e-05/0.216, allocations: 30.75 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.854e-05/0.2161, allocations: 8.922 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.2162, allocations: 176.2 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.2162, allocations: 384 / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.2162, allocations: 8.375 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.2163, allocations: 72.81 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.2164, allocations: 3.938 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.2164, allocations: 4 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2164, allocations: 4 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.79e-05/0.2164, allocations: 15.98 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002837/0.2167, allocations: 276.8 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.922e-05/0.2168, allocations: 34.56 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.129e-05/0.2168, allocations: 20.84 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.535e-06/0.2169, allocations: 0 / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000118/0.217, allocations: 71.41 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 2.234e-06/0.217, allocations: 4 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001598/0.2172, allocations: 69.62 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.2172, allocations: 102.8 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.059e-05/0.2173, allocations: 105.8 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.2173, allocations: 33.7 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.289e-05/0.2173, allocations: 84.05 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.2174, allocations: 11.83 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.2174, allocations: 21.72 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.271e-05/0.2175, allocations: 326.8 kB / 1.057 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.897e-05/0.2175, allocations: 12 kB / 1.057 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.298e-05/0.2176, allocations: 34.5 kB / 1.057 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.596e-05/0.2176, allocations: 29.23 kB / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2176, allocations: 0 / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.913e-05/0.2177, allocations: 65.59 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.2177, allocations: 5.562 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.2177, allocations: 0 / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.2178, allocations: 4.031 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.321e-05/0.2178, allocations: 4 kB / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2178, allocations: 7.938 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.886e-05/0.2179, allocations: 7.984 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.2179, allocations: 3.984 kB / 1.057 GB, free: 4.07 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.078e-05/0.218, allocations: 121.8 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.218, allocations: 4 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.466e-05/0.2181, allocations: 3.5 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.2181, allocations: 4 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.2181, allocations: 3.938 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.2181, allocations: 0 / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.2182, allocations: 173.6 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2182, allocations: 4 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.914e-05/0.2182, allocations: 0 / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.2182, allocations: 0 / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.2182, allocations: 4 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.2182, allocations: 0 / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2182, allocations: 0 / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.2184, allocations: 100.9 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/0.2184, allocations: 93.03 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.2184, allocations: 0 / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.904e-05/0.2185, allocations: 16.05 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.2186, allocations: 0 / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.2186, allocations: 4 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.608e-05/0.2186, allocations: 87.27 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2186, allocations: 0 / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001744/0.2188, allocations: 12 kB / 1.057 GB, free: 3.355 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.0003193/0.2191, allocations: 0.6283 MB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.9e-05/0.2192, allocations: 39.95 kB / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.2192, allocations: 0 / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.148e-05/0.2193, allocations: 12 kB / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.2194, allocations: 8 kB / 1.058 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008372/0.2203, allocations: 1.18 MB / 1.059 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/0.2205, allocations: 0.6807 MB / 1.06 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.802e-05/0.2205, allocations: 4 kB / 1.06 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.2205, allocations: 11.44 kB / 1.06 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.2205, allocations: 96 / 1.06 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.772/3.993, allocations: 1.769 MB / 1.062 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/14.86, allocations: 6.469 kB / 1.062 GB, free: 15.04 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)