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.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.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.001226/0.001226, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001305/0.001305, allocations: 190.6 kB / 16.25 MB, free: 6.621 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.231/1.231, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.514/2.514, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 64.42 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2276, allocations: 157.4 MB / 1.052 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002172/0.2298, allocations: 1.537 MB / 1.054 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006261/0.2305, allocations: 466.7 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.153e-05/0.2305, allocations: 0 / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.725e-05/0.2306, allocations: 11.92 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.2307, allocations: 23.91 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.692e-05/0.2308, allocations: 8 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.496e-05/0.2309, allocations: 59.66 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.339e-05/0.2309, allocations: 8 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.453e-05/0.231, allocations: 27.91 kB / 1.054 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.475e-05/0.2311, allocations: 19.92 kB / 1.055 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.2311, allocations: 4 kB / 1.055 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.012e-05/0.2311, allocations: 8 kB / 1.055 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.2311, allocations: 7.984 kB / 1.055 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.396e-05/0.2312, allocations: 23.88 kB / 1.055 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.834e-05/0.2313, allocations: 52.08 kB / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.2313, allocations: 0 / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.62e-07/0.2313, allocations: 0 / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.2313, allocations: 0 / 1.055 GB, free: 6.355 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.0004128/0.2317, allocations: 343.4 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.2317, allocations: 16.62 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.559e-05/0.2318, allocations: 38.69 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.202e-05/0.2318, allocations: 4.844 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.666e-05/0.2319, allocations: 172.4 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.2319, allocations: 4.375 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.2319, allocations: 4.375 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.523e-05/0.232, allocations: 53.8 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.232, allocations: 4 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.2321, allocations: 0 / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.2321, allocations: 0 / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.969e-05/0.2321, allocations: 27.94 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002663/0.2324, allocations: 272.8 kB / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.218e-05/0.2325, allocations: 42.56 kB / 1.056 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.609e-05/0.2325, allocations: 20.94 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.2325, allocations: 0 / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001279/0.2327, allocations: 71.33 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.2327, allocations: 0 / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0001711/0.2329, allocations: 81.67 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.2329, allocations: 51.41 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.441e-05/0.233, allocations: 117.8 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.233, allocations: 29.64 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.163e-05/0.233, allocations: 84.14 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.233, allocations: 15.8 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/0.2331, allocations: 25.7 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.107e-05/0.2332, allocations: 318.8 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.792e-05/0.2332, allocations: 12 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.613e-05/0.2332, allocations: 19.92 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.8e-05/0.2333, allocations: 24.86 kB / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2333, allocations: 3.938 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.037e-05/0.2334, allocations: 65.59 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.2334, allocations: 8 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-06/0.2334, allocations: 0 / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.2334, allocations: 4 kB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.145e-05/0.2335, allocations: 8 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-06/0.2335, allocations: 0 / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.609e-05/0.2336, allocations: 4.422 kB / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.2336, allocations: 8 kB / 1.056 GB, free: 4.203 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 5.973e-05/0.2336, allocations: 115.2 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.2337, allocations: 4 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.745e-05/0.2337, allocations: 11.97 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.2337, allocations: 4 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2337, allocations: 7.984 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.2337, allocations: 0 / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.2338, allocations: 173.5 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2338, allocations: 0 / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.53e-05/0.2339, allocations: 4 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2339, allocations: 0 / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.2339, allocations: 3.984 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2339, allocations: 4 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2339, allocations: 0 / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.234, allocations: 101 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.166e-05/0.234, allocations: 81.05 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.2341, allocations: 7.984 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.377e-05/0.2341, allocations: 0 / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/0.2342, allocations: 11.98 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.2342, allocations: 7.922 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.417e-05/0.2342, allocations: 87.28 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2342, allocations: 0 / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001725/0.2344, allocations: 15.91 kB / 1.057 GB, free: 3.48 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.0003262/0.2347, allocations: 0.6281 MB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.994e-05/0.2348, allocations: 43.92 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.2349, allocations: 0 / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.626e-05/0.2349, allocations: 12 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.235, allocations: 18.23 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008925/0.2359, allocations: 1.233 MB / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001762/0.2361, allocations: 0.6845 MB / 1.06 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.384e-05/0.2361, allocations: 4 kB / 1.06 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/0.2362, allocations: 15.42 kB / 1.06 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of SimCode: time 2.7e-07/0.2362, allocations: 0 / 1.06 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6711/0.9073, allocations: 1.396 MB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002641/0.9076, allocations: 235.2 kB / 1.061 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/2.437, allocations: 0 / 1.061 GB, free: 15.23 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)