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.001139/0.001139, allocations: 108 kB / 15.6 MB, free: 132 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.001165/0.001165, allocations: 192.1 kB / 16.53 MB, free: 6.391 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.175/1.175, 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 9.1.3-maint.9.1.x/package.mo): time 2.084/2.084, allocations: 390.3 MB / 0.6647 GB, free: 276 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 67.89 kB / 0.8126 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5285/0.5298, allocations: 140.4 MB / 0.9497 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002043/0.5319, allocations: 1.591 MB / 0.9513 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006369/0.5325, allocations: 0.5382 MB / 0.9518 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.499e-05/0.5326, allocations: 3.938 kB / 0.9518 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.503e-05/0.5326, allocations: 11.86 kB / 0.9518 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.5328, allocations: 44.7 kB / 0.9519 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.711e-05/0.5329, allocations: 38.22 kB / 0.9519 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.527e-05/0.533, allocations: 109.9 kB / 0.952 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.634e-05/0.5331, allocations: 16.72 kB / 0.952 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.262e-05/0.5332, allocations: 47.92 kB / 0.9521 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.469e-05/0.5333, allocations: 55.86 kB / 0.9521 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.5333, allocations: 8.5 kB / 0.9521 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.115e-05/0.5333, allocations: 9.094 kB / 0.9521 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.464e-05/0.5334, allocations: 27.36 kB / 0.9522 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.222e-05/0.5334, allocations: 44.95 kB / 0.9522 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.599e-05/0.5335, allocations: 88.64 kB / 0.9523 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.5335, allocations: 0 / 0.9523 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5335, allocations: 1.25 kB / 0.9523 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.5335, allocations: 0 / 0.9523 GB, free: 7.195 MB / 0.7169 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.0005266/0.5341, allocations: 408.5 kB / 0.9527 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.5341, allocations: 8.344 kB / 0.9527 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.375e-05/0.5341, allocations: 41.44 kB / 0.9527 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.975e-05/0.5342, allocations: 9.719 kB / 0.9527 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.446e-05/0.5343, allocations: 186 kB / 0.9529 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.5343, allocations: 4.344 kB / 0.9529 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.5343, allocations: 8.344 kB / 0.9529 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.5344, allocations: 89.7 kB / 0.953 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.5344, allocations: 0 / 0.953 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.5345, allocations: 5.359 kB / 0.953 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.5345, allocations: 1.375 kB / 0.953 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.001e-05/0.5346, allocations: 48.84 kB / 0.9531 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003491/0.5349, allocations: 344.9 kB / 0.9534 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.5352, allocations: 110.6 kB / 0.9535 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.561e-05/0.5352, allocations: 41.19 kB / 0.9535 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.5353, allocations: 1.312 kB / 0.9535 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/0.5354, allocations: 96.84 kB / 0.9536 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.5354, allocations: 0 / 0.9536 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0002626/0.5357, allocations: 159.3 kB / 0.9538 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.937e-05/0.5357, allocations: 52.84 kB / 0.9538 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.901e-05/0.5358, allocations: 122.8 kB / 0.954 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.5358, allocations: 31.05 kB / 0.954 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.091e-05/0.5358, allocations: 98.61 kB / 0.9541 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.5359, allocations: 32.81 kB / 0.9541 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.5359, allocations: 29.39 kB / 0.9541 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.006e-05/0.536, allocations: 324.6 kB / 0.9544 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.529e-05/0.536, allocations: 26.14 kB / 0.9545 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.699e-05/0.5361, allocations: 28.27 kB / 0.9545 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.679e-05/0.5362, allocations: 65.53 kB / 0.9546 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.5362, allocations: 1.156 kB / 0.9546 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000158/0.5364, allocations: 114.3 kB / 0.9547 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.5364, allocations: 5.625 kB / 0.9547 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.5364, allocations: 0 / 0.9547 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.5364, allocations: 5.031 kB / 0.9547 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.5365, allocations: 18.05 kB / 0.9547 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.5365, allocations: 5.094 kB / 0.9547 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.745e-05/0.5366, allocations: 20.72 kB / 0.9547 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.5366, allocations: 6.453 kB / 0.9547 GB, free: 4.941 MB / 0.7169 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 5.735e-05/0.5367, allocations: 122.3 kB / 0.9548 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.5367, allocations: 7.406 kB / 0.9549 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.5369, allocations: 138.8 kB / 0.955 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.537, allocations: 2.344 kB / 0.955 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.537, allocations: 4 kB / 0.955 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.537, allocations: 9.141 kB / 0.955 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.5371, allocations: 208.5 kB / 0.9552 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5371, allocations: 0 / 0.9552 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.329e-05/0.5372, allocations: 13.25 kB / 0.9552 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.5372, allocations: 1.219 kB / 0.9552 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.5372, allocations: 8.984 kB / 0.9552 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.5372, allocations: 1.125 kB / 0.9552 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.5372, allocations: 0 / 0.9552 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.5374, allocations: 167.5 kB / 0.9554 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.302e-05/0.5374, allocations: 87.83 kB / 0.9555 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.5375, allocations: 1.406 kB / 0.9555 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.668e-05/0.5376, allocations: 12.05 kB / 0.9555 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.5376, allocations: 13.33 kB / 0.9555 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.5376, allocations: 4.75 kB / 0.9555 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.855e-05/0.5377, allocations: 102.7 kB / 0.9556 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5377, allocations: 0 / 0.9556 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001919/0.5379, allocations: 30.75 kB / 0.9556 GB, free: 4.137 MB / 0.7169 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.0003448/0.5382, allocations: 0.7057 MB / 0.9563 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001758/0.5384, allocations: 91.03 kB / 0.9564 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.5384, allocations: 3.938 kB / 0.9564 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.41e-05/0.5385, allocations: 56.31 kB / 0.9565 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.5386, allocations: 11.94 kB / 0.9565 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009876/0.5396, allocations: 1.449 MB / 0.9579 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.598e-05/0.5397, allocations: 0.7053 MB / 0.9586 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.159e-05/0.5398, allocations: 14.36 kB / 0.9586 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.341e-05/0.5398, allocations: 30.11 kB / 0.9586 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.5398, allocations: 0 / 0.9586 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01559/0.5554, allocations: 2.254 MB / 0.9608 GB, free: 204 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.742/8.298, allocations: 9.766 kB / 0.9608 GB, free: 196 kB / 0.7169 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)