Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_9_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.005135/0.005135, allocations: 100.4 kB / 15.73 MB, free: 6.047 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.001216/0.001216, allocations: 193.8 kB / 16.67 MB, free: 5.977 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.267/1.267, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.218/2.218, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001195, allocations: 58.78 kB / 0.9504 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2229, allocations: 140.4 MB / 1.087 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002249/0.2252, allocations: 1.482 MB / 1.089 GB, free: 500 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000676/0.2259, allocations: 476.2 kB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.409e-05/0.2259, allocations: 0 / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.433e-05/0.226, allocations: 3.938 kB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002044/0.2262, allocations: 27.89 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.925e-05/0.2262, allocations: 11.94 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.523e-05/0.2263, allocations: 55.72 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.478e-05/0.2264, allocations: 12 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.897e-05/0.2265, allocations: 23.91 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.382e-05/0.2266, allocations: 23.92 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.2266, allocations: 4 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.2266, allocations: 4 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.927e-05/0.2266, allocations: 7.984 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.896e-05/0.2267, allocations: 27.81 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 7.659e-05/0.2267, allocations: 46.67 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2268, allocations: 0 / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2268, allocations: 0 / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.2268, allocations: 0 / 1.09 GB, free: 15.78 MB / 0.8575 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.0004724/0.2272, allocations: 352.2 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.2273, allocations: 8.031 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.437e-05/0.2273, allocations: 38.73 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.684e-05/0.2274, allocations: 8.844 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.2275, allocations: 164.4 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.2275, allocations: 384 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.2275, allocations: 8.375 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.553e-05/0.2276, allocations: 49.8 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.2276, allocations: 0 / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.2276, allocations: 15.88 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.2276, allocations: 8 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.092e-05/0.2277, allocations: 15.98 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.228, allocations: 276.8 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.227e-05/0.2281, allocations: 42.56 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.934e-05/0.2282, allocations: 20.94 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.2282, allocations: 7.938 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001271/0.2283, allocations: 67.39 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.2283, allocations: 0 / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0001949/0.2285, allocations: 77.67 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.2286, allocations: 55.34 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.698e-05/0.2286, allocations: 113.8 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.2287, allocations: 29.64 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.285e-05/0.2287, allocations: 88.14 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.2287, allocations: 15.8 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.2288, allocations: 21.7 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.467e-05/0.2289, allocations: 322.8 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.017e-05/0.2289, allocations: 11.98 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.386e-05/0.2289, allocations: 12 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.999e-05/0.229, allocations: 24.86 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.229, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.865e-05/0.2291, allocations: 69.59 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.2291, allocations: 4 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.2291, allocations: 4 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.2292, allocations: 0 / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.535e-05/0.2292, allocations: 15.92 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.2292, allocations: 0 / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.882e-05/0.2293, allocations: 4.438 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.2293, allocations: 4 kB / 1.091 GB, free: 13.62 MB / 0.8575 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.33e-05/0.2294, allocations: 113.8 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.113e-05/0.2294, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.338e-05/0.2294, allocations: 19.95 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.2294, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.2294, allocations: 4 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2295, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.2296, allocations: 177.4 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2296, allocations: 4 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.831e-05/0.2296, allocations: 7.984 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2296, allocations: 0 / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.2296, allocations: 0 / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2296, allocations: 0 / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2296, allocations: 3.938 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.2298, allocations: 101 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/0.2298, allocations: 89 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.2299, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.829e-05/0.2299, allocations: 7.938 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.68e-05/0.2299, allocations: 7.984 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.23, allocations: 4 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.228e-05/0.23, allocations: 83.28 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.23, allocations: 8 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001836/0.2302, allocations: 8 kB / 1.092 GB, free: 12.9 MB / 0.8575 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.0003728/0.2306, allocations: 0.6324 MB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.2307, allocations: 35.98 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.2307, allocations: 0 / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.385e-05/0.2308, allocations: 27.92 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.2309, allocations: 5.891 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009962/0.2319, allocations: 1.221 MB / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.2321, allocations: 0.6807 MB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.442e-05/0.2322, allocations: 0 / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.864e-05/0.2322, allocations: 15.44 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.2322, allocations: 0 / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2075/0.4397, allocations: 1.523 MB / 1.096 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.408/7.847, allocations: 11.75 kB / 1.096 GB, free: 8.762 MB / 0.8575 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)