Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.LocalCivilTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.001188/0.001188, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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: 196.8 kB / 16.14 MB, free: 6.734 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.187/1.187, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.305/2.305, allocations: 461.8 MB / 0.7342 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 65.02 kB / 0.8985 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2178, allocations: 157.4 MB / 1.052 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002195/0.22, allocations: 1.548 MB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000613/0.2207, allocations: 458.7 kB / 1.054 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.2207, allocations: 0 / 1.054 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.801e-05/0.2207, allocations: 7.984 kB / 1.054 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001859/0.2209, allocations: 27.84 kB / 1.054 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.1e-05/0.221, allocations: 8 kB / 1.054 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.185e-05/0.2211, allocations: 51.83 kB / 1.054 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.973e-05/0.2212, allocations: 11.94 kB / 1.054 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.42e-05/0.2212, allocations: 19.92 kB / 1.054 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.005e-05/0.2213, allocations: 19.92 kB / 1.054 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.2213, allocations: 4 kB / 1.054 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.395e-05/0.2213, allocations: 4 kB / 1.054 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.041e-05/0.2214, allocations: 15.91 kB / 1.054 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.535e-05/0.2214, allocations: 15.94 kB / 1.054 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.117e-05/0.2215, allocations: 44.09 kB / 1.054 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2215, allocations: 4 kB / 1.054 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.22e-07/0.2215, allocations: 0 / 1.054 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.925e-06/0.2215, allocations: 0 / 1.054 GB, free: 5.945 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.0004522/0.222, allocations: 347.4 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.222, allocations: 16.03 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.925e-05/0.222, allocations: 30.75 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.542e-05/0.2221, allocations: 4.844 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.2222, allocations: 176.3 kB / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.2222, allocations: 12.38 kB / 1.055 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-06/0.2222, allocations: 384 / 1.055 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.244e-05/0.2223, allocations: 57.8 kB / 1.055 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.2223, allocations: 0 / 1.055 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.2223, allocations: 0 / 1.055 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2223, allocations: 0 / 1.055 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.099e-05/0.2224, allocations: 23.94 kB / 1.055 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002944/0.2227, allocations: 276.8 kB / 1.055 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.544e-05/0.2228, allocations: 42.56 kB / 1.055 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.858e-05/0.2228, allocations: 24.94 kB / 1.055 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.62e-06/0.2229, allocations: 0 / 1.055 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001278/0.223, allocations: 63.39 kB / 1.055 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 2.545e-06/0.223, allocations: 0 / 1.055 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.000186/0.2232, allocations: 81.62 kB / 1.055 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.2232, allocations: 59.39 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.645e-05/0.2233, allocations: 113.7 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.2233, allocations: 29.69 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.19e-05/0.2234, allocations: 84.14 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.2234, allocations: 11.81 kB / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.2234, allocations: 21.72 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.337e-05/0.2235, allocations: 322.8 kB / 1.056 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.978e-05/0.2236, allocations: 12 kB / 1.056 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.243e-05/0.2236, allocations: 11.98 kB / 1.056 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.051e-05/0.2236, allocations: 36.8 kB / 1.056 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.2236, allocations: 0 / 1.056 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.186e-05/0.2237, allocations: 62.03 kB / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.2238, allocations: 8 kB / 1.056 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.2238, allocations: 0 / 1.056 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.507e-06/0.2238, allocations: 4 kB / 1.056 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-05/0.2238, allocations: 8 kB / 1.056 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.2239, allocations: 4 kB / 1.056 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.697e-05/0.2239, allocations: 7.984 kB / 1.056 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.2239, allocations: 7.984 kB / 1.056 GB, free: 3.789 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 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.122e-05/0.224, allocations: 117.7 kB / 1.056 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.224, allocations: 4 kB / 1.056 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.637e-05/0.224, allocations: 3.969 kB / 1.056 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2241, allocations: 4 kB / 1.056 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2241, allocations: 4 kB / 1.056 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2241, allocations: 3.984 kB / 1.056 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.2242, allocations: 173.5 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2242, allocations: 0 / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.629e-05/0.2242, allocations: 7.938 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2242, allocations: 0 / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.2242, allocations: 0 / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.2242, allocations: 8.297 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2242, allocations: 0 / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.2244, allocations: 97.06 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.709e-05/0.2244, allocations: 81.05 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.2244, allocations: 0 / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.625e-05/0.2245, allocations: 15.92 kB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.487e-05/0.2245, allocations: 4 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.968e-06/0.2245, allocations: 3.984 kB / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.333e-05/0.2246, allocations: 95.25 kB / 1.057 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2246, allocations: 0 / 1.057 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001715/0.2248, allocations: 15.91 kB / 1.057 GB, free: 3.066 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,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.0003435/0.2251, allocations: 0.6358 MB / 1.057 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.429e-05/0.2252, allocations: 44.05 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.2252, allocations: 0 / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.642e-05/0.2253, allocations: 16 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.2254, allocations: 12 kB / 1.058 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009239/0.2263, allocations: 1.224 MB / 1.059 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.2265, allocations: 0.6809 MB / 1.059 GB, free: 328 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.276e-05/0.2266, allocations: 4 kB / 1.059 GB, free: 324 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/0.2266, allocations: 15.42 kB / 1.059 GB, free: 308 kB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.2266, allocations: 3.938 kB / 1.059 GB, free: 304 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.206/1.433, allocations: 1.346 MB / 1.061 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/1.433, allocations: 238.3 kB / 1.061 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.434/2.867, allocations: 0 / 1.061 GB, free: 14.85 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)