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.001183/0.001183, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001287/0.001287, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.207/1.207, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.16/2.16, allocations: 390.2 MB / 0.6644 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 63.89 kB / 0.8122 GB, free: 14.6 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4921/0.4933, allocations: 140.4 MB / 0.9492 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002041/0.4954, allocations: 1.668 MB / 0.9509 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006125/0.496, allocations: 0.5325 MB / 0.9514 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.169e-05/0.496, allocations: 5.5 kB / 0.9514 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.864e-05/0.4961, allocations: 3.984 kB / 0.9514 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002037/0.4963, allocations: 32.69 kB / 0.9514 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.314e-05/0.4964, allocations: 38.64 kB / 0.9515 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.499e-05/0.4965, allocations: 109.1 kB / 0.9516 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.219e-05/0.4966, allocations: 20.36 kB / 0.9516 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.726e-05/0.4967, allocations: 43.34 kB / 0.9516 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.81e-05/0.4968, allocations: 52.33 kB / 0.9517 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.4968, allocations: 9.312 kB / 0.9517 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.713e-05/0.4968, allocations: 7.719 kB / 0.9517 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.358e-05/0.4968, allocations: 27.83 kB / 0.9517 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.517e-05/0.4969, allocations: 41.58 kB / 0.9518 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.175e-05/0.497, allocations: 93.39 kB / 0.9518 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.497, allocations: 4 kB / 0.9518 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.733e-06/0.497, allocations: 0 / 0.9518 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.497, allocations: 3.938 kB / 0.9519 GB, free: 7.109 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.000539/0.4976, allocations: 400.5 kB / 0.9522 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.4976, allocations: 9.594 kB / 0.9522 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.15e-05/0.4976, allocations: 36.88 kB / 0.9523 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.95e-05/0.4977, allocations: 13.16 kB / 0.9523 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.184e-05/0.4977, allocations: 186.4 kB / 0.9525 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.4978, allocations: 7.719 kB / 0.9525 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.4978, allocations: 4.562 kB / 0.9525 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.4979, allocations: 86.45 kB / 0.9526 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.4979, allocations: 0 / 0.9526 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.498, allocations: 5.156 kB / 0.9526 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.498, allocations: 1.062 kB / 0.9526 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.461e-05/0.4981, allocations: 48.73 kB / 0.9526 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000364/0.4984, allocations: 353.5 kB / 0.953 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.4987, allocations: 103 kB / 0.9531 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.5e-05/0.4988, allocations: 44.66 kB / 0.9531 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.4988, allocations: 5.375 kB / 0.9531 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.4989, allocations: 97.03 kB / 0.9532 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.4989, allocations: 0 / 0.9532 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0002799/0.4992, allocations: 157.4 kB / 0.9533 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.992e-05/0.4993, allocations: 54.09 kB / 0.9534 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.395e-05/0.4993, allocations: 125.6 kB / 0.9535 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.4993, allocations: 30.77 kB / 0.9535 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.423e-05/0.4994, allocations: 99.77 kB / 0.9536 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.4994, allocations: 32.78 kB / 0.9537 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-05/0.4994, allocations: 29.23 kB / 0.9537 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.511e-05/0.4995, allocations: 320.3 kB / 0.954 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.306e-05/0.4995, allocations: 26.52 kB / 0.954 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.662e-05/0.4996, allocations: 34.83 kB / 0.9541 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.562e-05/0.4997, allocations: 63.5 kB / 0.9541 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4997, allocations: 0 / 0.9541 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001449/0.4999, allocations: 115 kB / 0.9542 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.4999, allocations: 9.688 kB / 0.9542 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.4999, allocations: 0 / 0.9542 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.4999, allocations: 1.062 kB / 0.9542 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.5, allocations: 18.89 kB / 0.9543 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.5, allocations: 0 / 0.9543 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.5001, allocations: 16.84 kB / 0.9543 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.5001, allocations: 6.641 kB / 0.9543 GB, free: 4.863 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.627e-05/0.5002, allocations: 119.2 kB / 0.9544 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.723e-05/0.5002, allocations: 11.28 kB / 0.9544 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002156/0.5004, allocations: 150.5 kB / 0.9545 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.5004, allocations: 1.406 kB / 0.9546 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.5004, allocations: 0 / 0.9546 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.5005, allocations: 9.359 kB / 0.9546 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.5006, allocations: 207.8 kB / 0.9548 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5006, allocations: 1.344 kB / 0.9548 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.199e-05/0.5006, allocations: 12.69 kB / 0.9548 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.5007, allocations: 0 / 0.9548 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.5007, allocations: 13.23 kB / 0.9548 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.5007, allocations: 5.125 kB / 0.9548 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.5007, allocations: 1.156 kB / 0.9548 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.5009, allocations: 161.2 kB / 0.9549 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.082e-05/0.5009, allocations: 87.36 kB / 0.955 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.5009, allocations: 6.375 kB / 0.955 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.953e-05/0.501, allocations: 7.391 kB / 0.955 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.5011, allocations: 21.67 kB / 0.9551 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.5011, allocations: 4.531 kB / 0.9551 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.825e-05/0.5011, allocations: 102.5 kB / 0.9552 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5011, allocations: 0 / 0.9552 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001905/0.5013, allocations: 23.19 kB / 0.9552 GB, free: 4.051 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.0003296/0.5017, allocations: 0.6999 MB / 0.9559 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001683/0.5018, allocations: 89.62 kB / 0.956 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5019, allocations: 1.375 kB / 0.956 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.775e-05/0.5019, allocations: 61.16 kB / 0.956 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.5021, allocations: 11.39 kB / 0.956 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009944/0.5031, allocations: 1.471 MB / 0.9575 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.792e-05/0.5032, allocations: 0.707 MB / 0.9582 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.332e-05/0.5032, allocations: 9.922 kB / 0.9582 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.73e-05/0.5033, allocations: 33.83 kB / 0.9582 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.5033, allocations: 4 kB / 0.9582 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1833/0.6867, allocations: 2.151 MB / 0.9603 GB, free: 228 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/0.6869, allocations: 225.9 kB / 0.9605 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/2.344, allocations: 2 kB / 0.9605 GB, free: 15.97 MB / 0.7325 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)