Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.SolarTime,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.005024/0.005024, allocations: 101.1 kB / 15.73 MB, free: 6.473 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.001239/0.001239, allocations: 195 kB / 16.67 MB, free: 6.379 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.239/1.239, 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.179/2.179, allocations: 390.3 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 67.77 kB / 0.9504 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2151, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002448/0.2176, allocations: 1.606 MB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008569/0.2184, allocations: 0.539 MB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.547e-05/0.2185, allocations: 4 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.993e-05/0.2186, allocations: 7.922 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002473/0.2188, allocations: 39.72 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001142/0.2189, allocations: 43.88 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.2191, allocations: 107.6 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.659e-05/0.2192, allocations: 23.98 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.2193, allocations: 47.78 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.2194, allocations: 51.81 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.2194, allocations: 8 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.736e-05/0.2194, allocations: 8 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.057e-05/0.2195, allocations: 23.92 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.999e-05/0.2195, allocations: 43.78 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.2197, allocations: 95.05 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.2197, allocations: 4 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2197, allocations: 0 / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.2197, allocations: 4 kB / 1.09 GB, free: 15.35 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006462/0.2204, allocations: 399.5 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.2204, allocations: 8.031 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.683e-05/0.2204, allocations: 42.73 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.2205, allocations: 8.844 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.2206, allocations: 180.2 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.2206, allocations: 4.375 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.2206, allocations: 8.375 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.2208, allocations: 93.64 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.2208, allocations: 4 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.2209, allocations: 0 / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.2209, allocations: 7.922 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.221, allocations: 47.97 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004385/0.2214, allocations: 344.5 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.2217, allocations: 106.7 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.454e-05/0.2218, allocations: 44.84 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.2218, allocations: 7.938 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.222, allocations: 91.3 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.222, allocations: 4 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0002949/0.2223, allocations: 149.5 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.2224, allocations: 55.41 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.558e-05/0.2224, allocations: 125.8 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.2225, allocations: 29.7 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.247e-05/0.2225, allocations: 92.28 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.2226, allocations: 31.69 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/0.2226, allocations: 29.7 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.632e-05/0.2227, allocations: 326.8 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.797e-05/0.2228, allocations: 23.98 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.715e-05/0.2228, allocations: 35.73 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.2229, allocations: 64.84 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.2229, allocations: 0 / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001667/0.2231, allocations: 109.6 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.2231, allocations: 8 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.2232, allocations: 3.984 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.2232, allocations: 0 / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.2233, allocations: 19.92 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2233, allocations: 8 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.2234, allocations: 11.92 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.2234, allocations: 0 / 1.092 GB, free: 12.64 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: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 8.19e-05/0.2235, allocations: 124.7 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.2235, allocations: 7.906 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/0.2238, allocations: 145.9 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2238, allocations: 0 / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2238, allocations: 8 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.2238, allocations: 3.938 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.224, allocations: 221.4 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.224, allocations: 0 / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.212e-05/0.2241, allocations: 19.98 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2241, allocations: 0 / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.2241, allocations: 4 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2241, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2241, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.2244, allocations: 176.8 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.018e-05/0.2244, allocations: 85 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.2244, allocations: 8 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.2245, allocations: 4 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.2246, allocations: 19.84 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.2246, allocations: 8 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.171e-05/0.2247, allocations: 99.2 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2247, allocations: 0 / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002045/0.2249, allocations: 24 kB / 1.093 GB, free: 11.61 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: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004906/0.2254, allocations: 0.7027 MB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001781/0.2256, allocations: 83.97 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.2256, allocations: 0 / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.129e-05/0.2257, allocations: 47.92 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.2259, allocations: 17.34 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.2272, allocations: 1.457 MB / 1.096 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.2274, allocations: 0.6963 MB / 1.096 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.109e-05/0.2275, allocations: 8.562 kB / 1.096 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.553e-05/0.2276, allocations: 35.42 kB / 1.096 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of SimCode: time 3.21e-07/0.2276, allocations: 0 / 1.096 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1722/0.3997, allocations: 2.31 MB / 1.099 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.165/7.565, allocations: 7.609 kB / 1.099 GB, free: 6.242 MB / 0.8575 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)