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.0008354/0.0008354, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.00501/0.00501, allocations: 170.2 kB / 16.27 MB, free: 6.66 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.197/1.197, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.346/2.346, allocations: 462.6 MB / 0.7364 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002973/0.0002974, allocations: 10.34 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2366, allocations: 159.6 MB / 1.059 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001369/0.238, allocations: 1.209 MB / 1.06 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006271/0.2387, allocations: 454.9 kB / 1.06 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.009e-05/0.2387, allocations: 0 / 1.06 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.436e-05/0.2387, allocations: 3.938 kB / 1.06 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.2389, allocations: 27.91 kB / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.313e-05/0.239, allocations: 11.98 kB / 1.06 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.536e-05/0.2391, allocations: 51.73 kB / 1.06 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.644e-05/0.2391, allocations: 4 kB / 1.06 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.059e-05/0.2392, allocations: 27.91 kB / 1.061 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.199e-05/0.2393, allocations: 15.92 kB / 1.061 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.2393, allocations: 4 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.167e-06/0.2393, allocations: 4 kB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.9e-05/0.2393, allocations: 7.984 kB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.253e-05/0.2394, allocations: 49.5 kB / 1.061 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.952e-05/0.2395, allocations: 44.09 kB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.2395, allocations: 0 / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2395, allocations: 0 / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.2395, allocations: 0 / 1.061 GB, free: 2.902 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.000433/0.2399, allocations: 351.4 kB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.24, allocations: 8.031 kB / 1.061 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.259e-05/0.24, allocations: 38.73 kB / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.396e-05/0.24, allocations: 4.938 kB / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.2402, allocations: 168.3 kB / 1.061 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.2402, allocations: 384 / 1.061 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.2402, allocations: 8.375 kB / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.318e-05/0.2403, allocations: 49.8 kB / 1.061 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.2403, allocations: 0 / 1.061 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.2403, allocations: 11.98 kB / 1.061 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.2403, allocations: 8 kB / 1.061 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.058e-05/0.2404, allocations: 19.92 kB / 1.061 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002924/0.2407, allocations: 272.9 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.748e-05/0.2408, allocations: 46.5 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.787e-05/0.2408, allocations: 16.86 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.2408, allocations: 4 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/0.241, allocations: 71.42 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.241, allocations: 0 / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.000185/0.2412, allocations: 81.58 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.2412, allocations: 51.41 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.535e-05/0.2413, allocations: 117.8 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.2413, allocations: 25.7 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.2414, allocations: 88.14 kB / 1.062 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.2414, allocations: 19.69 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.2414, allocations: 21.7 kB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.694e-05/0.2415, allocations: 314.8 kB / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.878e-05/0.2415, allocations: 12 kB / 1.062 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.378e-05/0.2416, allocations: 11.98 kB / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.33e-05/0.2416, allocations: 32.86 kB / 1.062 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2416, allocations: 0 / 1.062 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.44e-05/0.2417, allocations: 61.69 kB / 1.062 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.2417, allocations: 4 kB / 1.062 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.2418, allocations: 0 / 1.062 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.2418, allocations: 8 kB / 1.062 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.681e-05/0.2418, allocations: 11.92 kB / 1.062 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.2418, allocations: 0 / 1.062 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.835e-05/0.2419, allocations: 7.906 kB / 1.062 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.2419, allocations: 4 kB / 1.063 GB, free: 0.7539 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 6.798e-05/0.242, allocations: 113.8 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.242, allocations: 4 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.986e-05/0.242, allocations: 11.95 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.242, allocations: 4 kB / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2421, allocations: 4.438 kB / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2421, allocations: 0 / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.2422, allocations: 169.6 kB / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.2422, allocations: 4 kB / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.615e-05/0.2422, allocations: 4 kB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2422, allocations: 0 / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.2422, allocations: 3.984 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2422, allocations: 4 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2422, allocations: 0 / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.2424, allocations: 104.9 kB / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.673e-05/0.2424, allocations: 85.03 kB / 1.063 GB, free: 160 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.2424, allocations: 4 kB / 1.063 GB, free: 156 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.415e-05/0.2425, allocations: 3.938 kB / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.2425, allocations: 7.984 kB / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.2425, allocations: 0 / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.283e-05/0.2426, allocations: 87.28 kB / 1.063 GB, free: 56 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.923e-06/0.2426, allocations: 4 kB / 1.063 GB, free: 52 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001768/0.2428, allocations: 19.94 kB / 1.063 GB, free: 32 kB / 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.0003474/0.2431, allocations: 0.6359 MB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.086e-05/0.2432, allocations: 31.98 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2432, allocations: 0 / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.785e-05/0.2433, allocations: 20 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.2434, allocations: 15.92 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009388/0.2444, allocations: 1.225 MB / 1.065 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.2446, allocations: 0.6848 MB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.601e-05/0.2446, allocations: 4 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.2446, allocations: 11.44 kB / 1.066 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2446, allocations: 0 / 1.066 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009893/0.2545, allocations: 1.29 MB / 1.067 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/0.2548, allocations: 238.4 kB / 1.067 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.441/1.696, allocations: 4.719 kB / 1.067 GB, free: 11.89 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)