Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.631/1.631, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 184.9 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.848/1.848, allocations: 205.4 MB / 0.5775 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008812/0.0008812, allocations: 83.31 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.0003372, allocations: 9.531 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2319, allocations: 106.4 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.00147/0.2334, allocations: 1.128 MB / 0.9013 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005107/0.2339, allocations: 388.8 kB / 0.9016 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.017e-05/0.234, allocations: 0 / 0.9016 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.275e-05/0.234, allocations: 0 / 0.9016 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.39e-05/0.2341, allocations: 11.97 kB / 0.9016 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.236e-05/0.2341, allocations: 4 kB / 0.9016 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.445e-05/0.2342, allocations: 15.98 kB / 0.9017 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.622e-05/0.2343, allocations: 0 / 0.9017 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.2344, allocations: 11.92 kB / 0.9017 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.597e-05/0.2345, allocations: 11.98 kB / 0.9017 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.2345, allocations: 0 / 0.9017 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.042e-06/0.2345, allocations: 0 / 0.9017 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.446e-06/0.2345, allocations: 0 / 0.9017 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.643e-05/0.2345, allocations: 33.64 kB / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.495e-05/0.2346, allocations: 7.984 kB / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.2346, allocations: 4 kB / 0.9017 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2346, allocations: 0 / 0.9017 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.2346, allocations: 0 / 0.9017 GB, free: 62.2 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002881/0.2349, allocations: 319.7 kB / 0.902 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.2349, allocations: 15.97 kB / 0.902 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.139e-05/0.235, allocations: 30.56 kB / 0.9021 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.007e-05/0.235, allocations: 3.953 kB / 0.9021 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.412e-05/0.2351, allocations: 171 kB / 0.9022 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.2351, allocations: 3.938 kB / 0.9022 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.761e-06/0.2351, allocations: 4 kB / 0.9022 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.249e-05/0.2352, allocations: 33.7 kB / 0.9023 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.2352, allocations: 0 / 0.9023 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.2352, allocations: 0 / 0.9023 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2352, allocations: 0 / 0.9023 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.727e-05/0.2353, allocations: 11.92 kB / 0.9023 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002491/0.2355, allocations: 244.8 kB / 0.9025 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.555e-05/0.2356, allocations: 34.61 kB / 0.9026 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.162e-06/0.2356, allocations: 0 / 0.9026 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.167e-05/0.2356, allocations: 30.56 kB / 0.9026 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.2356, allocations: 0 / 0.9026 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001252/0.2357, allocations: 45.69 kB / 0.9026 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.2358, allocations: 59.36 kB / 0.9027 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.642e-05/0.2358, allocations: 102 kB / 0.9028 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.215e-06/0.2359, allocations: 29.7 kB / 0.9028 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.401e-05/0.2359, allocations: 80.14 kB / 0.9029 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.26e-05/0.2359, allocations: 3.906 kB / 0.9029 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.2359, allocations: 0 / 0.9029 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.461e-05/0.236, allocations: 318.8 kB / 0.9032 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.616e-06/0.236, allocations: 0 / 0.9032 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-06/0.236, allocations: 4 kB / 0.9032 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.544e-05/0.236, allocations: 3.984 kB / 0.9032 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.236, allocations: 4.062 kB / 0.9032 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.64e-05/0.2361, allocations: 41.64 kB / 0.9032 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.2361, allocations: 8 kB / 0.9033 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.2361, allocations: 0 / 0.9033 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.2361, allocations: 0 / 0.9033 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.921e-05/0.2362, allocations: 4 kB / 0.9033 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.2362, allocations: 0 / 0.9033 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.634e-05/0.2362, allocations: 3.953 kB / 0.9033 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-06/0.2362, allocations: 0 / 0.9033 GB, free: 60.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.465e-05/0.2363, allocations: 117.9 kB / 0.9034 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.2363, allocations: 4 kB / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.402e-05/0.2363, allocations: 3.125 kB / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2363, allocations: 0 / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.2363, allocations: 3.938 kB / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.2363, allocations: 0 / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.2364, allocations: 161.6 kB / 0.9035 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2364, allocations: 0 / 0.9035 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.609e-05/0.2365, allocations: 8 kB / 0.9035 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2365, allocations: 0 / 0.9035 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.2365, allocations: 4 kB / 0.9036 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2365, allocations: 0 / 0.9036 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2365, allocations: 3.938 kB / 0.9036 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.457e-05/0.2366, allocations: 143.4 kB / 0.9037 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.915e-05/0.2366, allocations: 77.11 kB / 0.9038 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.2366, allocations: 0 / 0.9038 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.19e-05/0.2367, allocations: 0 / 0.9038 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.2367, allocations: 0 / 0.9038 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-06/0.2367, allocations: 8.031 kB / 0.9038 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.051e-05/0.2367, allocations: 83.27 kB / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2367, allocations: 4 kB / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002003/0.2369, allocations: 0 / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002148/0.2371, allocations: 0.6734 MB / 0.9045 GB, free: 59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.443e-05/0.2372, allocations: 12 kB / 0.9045 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2372, allocations: 0 / 0.9045 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.865e-06/0.2372, allocations: 4 kB / 0.9045 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.2374, allocations: 0 / 0.9045 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004612/0.2378, allocations: 344.8 kB / 0.9049 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.238, allocations: 0.681 MB / 0.9055 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.551e-05/0.238, allocations: 3.938 kB / 0.9055 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.238, allocations: 7.438 kB / 0.9055 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of SimCode: time 2e-07/0.238, allocations: 0 / 0.9055 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01015/0.2482, allocations: 0.8876 MB / 0.9064 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/0.2484, allocations: 217.7 kB / 0.9066 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.399/1.648, allocations: 6.969 kB / 0.9066 GB, free: 56.97 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)