Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.SolarTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_latest_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.004723/0.004723, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001347/0.001347, allocations: 192.7 kB / 16.67 MB, free: 5.969 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.219/1.219, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.402/2.402, allocations: 482.6 MB / 0.7551 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 69.75 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2492, allocations: 162.3 MB / 1.242 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002388/0.2516, allocations: 1.597 MB / 1.243 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007843/0.2524, allocations: 0.5391 MB / 1.244 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.43e-05/0.2525, allocations: 0 / 1.244 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.115e-05/0.2525, allocations: 15.86 kB / 1.244 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.2527, allocations: 42.53 kB / 1.244 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001007/0.2528, allocations: 35.88 kB / 1.244 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.253, allocations: 111.6 kB / 1.244 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.275e-05/0.2531, allocations: 23.92 kB / 1.244 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.784e-05/0.2532, allocations: 47.89 kB / 1.244 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.2533, allocations: 51.77 kB / 1.244 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.2533, allocations: 11.98 kB / 1.244 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.942e-05/0.2533, allocations: 8 kB / 1.244 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3e-05/0.2534, allocations: 19.92 kB / 1.244 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.766e-05/0.2534, allocations: 47.78 kB / 1.244 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.2536, allocations: 91.91 kB / 1.244 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2536, allocations: 7.938 kB / 1.244 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2536, allocations: 0 / 1.244 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.2536, allocations: 4 kB / 1.244 GB, free: 6.227 MB / 0.9669 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.0006318/0.2542, allocations: 403.1 kB / 1.245 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.2543, allocations: 8.031 kB / 1.245 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.09e-05/0.2543, allocations: 42.73 kB / 1.245 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.2544, allocations: 12.89 kB / 1.245 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.2545, allocations: 184.2 kB / 1.245 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.2545, allocations: 12.31 kB / 1.245 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.2545, allocations: 4.375 kB / 1.245 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.2547, allocations: 89.77 kB / 1.245 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.2547, allocations: 0 / 1.245 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.2547, allocations: 4 kB / 1.245 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.2547, allocations: 0 / 1.245 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.2548, allocations: 51.91 kB / 1.245 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/0.2553, allocations: 340.7 kB / 1.246 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.2556, allocations: 110.6 kB / 1.246 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.525e-05/0.2557, allocations: 40.84 kB / 1.246 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.2557, allocations: 4 kB / 1.246 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000182/0.2559, allocations: 103.3 kB / 1.246 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.2559, allocations: 0 / 1.246 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0002953/0.2562, allocations: 145.5 kB / 1.246 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.2562, allocations: 55.41 kB / 1.246 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.514e-05/0.2563, allocations: 129.8 kB / 1.246 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.2563, allocations: 25.7 kB / 1.246 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/0.2564, allocations: 100.4 kB / 1.246 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.2564, allocations: 31.78 kB / 1.246 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-05/0.2565, allocations: 33.7 kB / 1.246 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.2566, allocations: 314.8 kB / 1.247 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.631e-05/0.2567, allocations: 31.98 kB / 1.247 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.072e-05/0.2567, allocations: 24 kB / 1.247 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.2569, allocations: 68.78 kB / 1.247 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2569, allocations: 3.938 kB / 1.247 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001688/0.257, allocations: 113.6 kB / 1.247 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.799e-06/0.257, allocations: 4 kB / 1.247 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.2571, allocations: 0 / 1.247 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.2571, allocations: 11.98 kB / 1.247 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.398e-05/0.2572, allocations: 12 kB / 1.247 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.2572, allocations: 0 / 1.247 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.71e-05/0.2573, allocations: 23.86 kB / 1.247 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.2573, allocations: 0 / 1.247 GB, free: 3.5 MB / 0.9669 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.009e-05/0.2574, allocations: 129.9 kB / 1.247 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/0.2574, allocations: 7.953 kB / 1.247 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002473/0.2577, allocations: 146 kB / 1.247 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.2577, allocations: 0 / 1.247 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2577, allocations: 0 / 1.247 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2577, allocations: 7.875 kB / 1.247 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.2579, allocations: 213.5 kB / 1.247 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.2579, allocations: 4 kB / 1.247 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.52e-05/0.258, allocations: 19.92 kB / 1.247 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.258, allocations: 4 kB / 1.247 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.258, allocations: 0 / 1.247 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.258, allocations: 0 / 1.247 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.258, allocations: 0 / 1.247 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.2582, allocations: 169 kB / 1.248 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.786e-05/0.2583, allocations: 93 kB / 1.248 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.2583, allocations: 4 kB / 1.248 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.461e-05/0.2584, allocations: 7.984 kB / 1.248 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.2585, allocations: 19.91 kB / 1.248 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.2585, allocations: 4 kB / 1.248 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.494e-05/0.2585, allocations: 103.3 kB / 1.248 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2586, allocations: 3.938 kB / 1.248 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001858/0.2587, allocations: 24 kB / 1.248 GB, free: 2.461 MB / 0.9669 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.0005104/0.2593, allocations: 0.6905 MB / 1.248 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001725/0.2594, allocations: 90.72 kB / 1.249 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.2594, allocations: 8 kB / 1.249 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.679e-05/0.2595, allocations: 51.92 kB / 1.249 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.2597, allocations: 11.94 kB / 1.249 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.261, allocations: 1.458 MB / 1.25 GB, free: 48 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.2613, allocations: 0.6924 MB / 1.251 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.209e-05/0.2614, allocations: 16.55 kB / 1.251 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.399e-05/0.2615, allocations: 31.42 kB / 1.251 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of SimCode: time 1.9e-07/0.2615, allocations: 0 / 1.251 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.284/8.546, allocations: 2.297 MB / 1.253 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.26/21.8, allocations: 12.81 kB / 1.253 GB, free: 13.12 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)