Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_11_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.001627/0.001627, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.558/2.558, allocations: 469.8 MB / 0.7424 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 64.2 kB / 0.9087 GB, free: 34.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2418, allocations: 159.2 MB / 1.064 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.00268/0.2445, allocations: 1.603 MB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008804/0.2454, allocations: 0.5415 MB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.91e-05/0.2455, allocations: 4 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/0.2455, allocations: 7.922 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.2458, allocations: 44.53 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001078/0.2459, allocations: 31.94 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.246, allocations: 111.6 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.146e-05/0.2461, allocations: 19.98 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.2463, allocations: 51.78 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.903e-05/0.2464, allocations: 51.81 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.2464, allocations: 8 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.059e-05/0.2464, allocations: 8 kB / 1.067 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.357e-05/0.2465, allocations: 23.91 kB / 1.067 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.22e-05/0.2465, allocations: 47.8 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.2467, allocations: 91.95 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.2467, allocations: 0 / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.427e-06/0.2467, allocations: 4 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.2467, allocations: 0 / 1.067 GB, free: 11.62 MB / 0.8262 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.0006769/0.2474, allocations: 399.2 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.2474, allocations: 8.031 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.2474, allocations: 42.75 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.261e-05/0.2475, allocations: 8.844 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.2476, allocations: 184.1 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.2477, allocations: 8.375 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.2477, allocations: 4.375 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.2479, allocations: 95.67 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.2479, allocations: 0 / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.2479, allocations: 4 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.2479, allocations: 0 / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.248, allocations: 51.91 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00049/0.2485, allocations: 336.7 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.2488, allocations: 106.7 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.078e-05/0.2489, allocations: 44.84 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.2489, allocations: 4 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002057/0.2491, allocations: 99.28 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.372e-06/0.2492, allocations: 0 / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0003115/0.2495, allocations: 145.5 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.2495, allocations: 55.41 kB / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.2497, allocations: 129.7 kB / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.2497, allocations: 29.7 kB / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.2497, allocations: 104.3 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.2498, allocations: 31.55 kB / 1.068 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/0.2498, allocations: 33.64 kB / 1.069 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.25, allocations: 318.8 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.877e-05/0.25, allocations: 27.98 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.597e-05/0.2501, allocations: 29.23 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.2502, allocations: 66.59 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.2502, allocations: 4 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001787/0.2504, allocations: 113.5 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2504, allocations: 8 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.2504, allocations: 0 / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.2505, allocations: 0 / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.2506, allocations: 15.98 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2506, allocations: 4 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.2507, allocations: 15.94 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.2507, allocations: 7.984 kB / 1.069 GB, free: 8.898 MB / 0.8262 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 9.179e-05/0.2508, allocations: 122.7 kB / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.986e-05/0.2508, allocations: 7.906 kB / 1.069 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002601/0.2511, allocations: 143.3 kB / 1.069 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.2511, allocations: 3.984 kB / 1.069 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.2511, allocations: 0 / 1.069 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.2511, allocations: 7.922 kB / 1.069 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.2513, allocations: 217.4 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2513, allocations: 0 / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.912e-05/0.2514, allocations: 19.94 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2514, allocations: 4 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.2514, allocations: 3.984 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.2514, allocations: 0 / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2514, allocations: 0 / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.2517, allocations: 164.9 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.954e-05/0.2517, allocations: 88.95 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.2518, allocations: 4 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.2519, allocations: 11.98 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.2519, allocations: 15.92 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.252, allocations: 4 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.087e-05/0.252, allocations: 103.2 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.903e-06/0.252, allocations: 0 / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001968/0.2522, allocations: 27.94 kB / 1.07 GB, free: 7.867 MB / 0.8262 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.0005391/0.2528, allocations: 0.7039 MB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001976/0.253, allocations: 92.91 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.253, allocations: 0 / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.371e-05/0.2531, allocations: 51.91 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.2533, allocations: 15.88 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.2547, allocations: 1.446 MB / 1.072 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.255, allocations: 0.7039 MB / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.131e-05/0.2551, allocations: 8.5 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.739e-05/0.2551, allocations: 39.42 kB / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2552, allocations: 0 / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.463/1.718, allocations: 2.252 MB / 1.075 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.71/9.428, allocations: 3.938 kB / 1.075 GB, free: 2.543 MB / 0.8262 GB (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)