Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_10_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.0008311/0.000831, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.004884/0.004884, allocations: 174.8 kB / 16.27 MB, free: 6.648 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.194/1.194, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.271/2.271, allocations: 437.8 MB / 0.7121 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000279/0.0002791, allocations: 12 kB / 0.8729 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5178/0.5181, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.0015/0.5196, allocations: 1.328 MB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007364/0.5204, allocations: 0.5144 MB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.997e-05/0.5204, allocations: 0 / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.01e-05/0.5204, allocations: 7.922 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.5207, allocations: 43.58 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001013/0.5208, allocations: 31.97 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.5209, allocations: 107.6 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.581e-05/0.521, allocations: 15.98 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.915e-05/0.5211, allocations: 55.72 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.887e-05/0.5212, allocations: 47.81 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.5212, allocations: 4 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.492e-05/0.5213, allocations: 4 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.656e-05/0.5213, allocations: 15.92 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.633e-05/0.5214, allocations: 61.55 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.795e-05/0.5215, allocations: 93.84 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.5215, allocations: 0 / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5215, allocations: 0 / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.5215, allocations: 0 / 1.025 GB, free: 13.47 MB / 0.7794 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.0005699/0.5221, allocations: 391.2 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.5221, allocations: 8.031 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.087e-05/0.5221, allocations: 42.73 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.5222, allocations: 12.75 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.5223, allocations: 184.3 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.5223, allocations: 4.359 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.5223, allocations: 8.375 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.5225, allocations: 81.78 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.982e-06/0.5225, allocations: 0 / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.5225, allocations: 7.984 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.5225, allocations: 3.984 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.5226, allocations: 47.97 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004279/0.5231, allocations: 352.5 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.5233, allocations: 106.7 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.115e-05/0.5234, allocations: 44.84 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.5234, allocations: 4 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/0.5236, allocations: 99.2 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.5236, allocations: 0 / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0002813/0.5239, allocations: 153.4 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.5239, allocations: 51.41 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.28e-05/0.524, allocations: 129.8 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.524, allocations: 29.7 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.5241, allocations: 92.38 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.5241, allocations: 31.69 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.5242, allocations: 17.72 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.276e-05/0.5243, allocations: 322.8 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.863e-05/0.5243, allocations: 27.98 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.027e-05/0.5244, allocations: 31.98 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.5245, allocations: 60.78 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.5245, allocations: 0 / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001821/0.5247, allocations: 117.5 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.5247, allocations: 4 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.5247, allocations: 8 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.5247, allocations: 0 / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.946e-05/0.5248, allocations: 23.98 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.5248, allocations: 0 / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.5249, allocations: 19.78 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.525, allocations: 3.984 kB / 1.028 GB, free: 10.76 MB / 0.7794 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 7.783e-05/0.525, allocations: 125.8 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.5251, allocations: 11.91 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.5253, allocations: 141.9 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.5253, allocations: 0 / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.5253, allocations: 0 / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.5253, allocations: 7.922 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.5255, allocations: 209.6 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.5255, allocations: 0 / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.422e-05/0.5256, allocations: 15.94 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.5256, allocations: 4 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.5256, allocations: 11.98 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.5256, allocations: 3.984 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5256, allocations: 0 / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.5258, allocations: 164.9 kB / 1.028 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.392e-05/0.5259, allocations: 84.95 kB / 1.029 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.5259, allocations: 8 kB / 1.029 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.526, allocations: 7.984 kB / 1.029 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.5261, allocations: 19.92 kB / 1.029 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.5261, allocations: 7.984 kB / 1.029 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.94e-05/0.5261, allocations: 99.2 kB / 1.029 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5261, allocations: 0 / 1.029 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001928/0.5263, allocations: 24 kB / 1.029 GB, free: 9.727 MB / 0.7794 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.0004332/0.5268, allocations: 0.708 MB / 1.029 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001604/0.5269, allocations: 83.91 kB / 1.029 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.5269, allocations: 0 / 1.029 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.405e-05/0.527, allocations: 55.91 kB / 1.03 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.5272, allocations: 7.938 kB / 1.03 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.5284, allocations: 1.486 MB / 1.031 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.5287, allocations: 0.6965 MB / 1.032 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.936e-05/0.5287, allocations: 12.53 kB / 1.032 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.139e-05/0.5288, allocations: 35.42 kB / 1.032 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of SimCode: time 4.01e-07/0.5288, allocations: 4 kB / 1.032 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01034/0.5391, allocations: 1.996 MB / 1.034 GB, free: 4.695 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/0.5394, allocations: 231.2 kB / 1.034 GB, free: 4.438 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.924/2.463, allocations: 4 kB / 1.034 GB, free: 4.434 MB / 0.7794 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)