Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.EquationOfTime,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",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.001165/0.001165, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001172/0.001172, allocations: 190.7 kB / 16.14 MB, free: 6.645 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.183/1.183, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.054/2.054, allocations: 390.2 MB / 0.6643 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 63.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4846/0.4858, allocations: 140.4 MB / 0.9491 GB, free: 9.398 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001946/0.4877, allocations: 1.505 MB / 0.9505 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005494/0.4883, allocations: 0.497 MB / 0.951 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.16e-05/0.4883, allocations: 1.656 kB / 0.951 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.552e-05/0.4884, allocations: 3.984 kB / 0.951 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.4885, allocations: 17.45 kB / 0.951 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.382e-05/0.4886, allocations: 25.22 kB / 0.9511 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.807e-05/0.4887, allocations: 44.19 kB / 0.9511 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.053e-05/0.4888, allocations: 11.62 kB / 0.9511 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.289e-05/0.4888, allocations: 29.81 kB / 0.9511 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.537e-05/0.4889, allocations: 20.48 kB / 0.9512 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.4889, allocations: 2.594 kB / 0.9512 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.201e-05/0.4889, allocations: 5.469 kB / 0.9512 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.949e-05/0.489, allocations: 5.422 kB / 0.9512 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.855e-05/0.489, allocations: 22.3 kB / 0.9512 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.39e-05/0.4891, allocations: 41.05 kB / 0.9512 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4891, allocations: 3.984 kB / 0.9512 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.51e-07/0.4891, allocations: 4 kB / 0.9512 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.4891, allocations: 0 / 0.9512 GB, free: 7.668 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004337/0.4895, allocations: 352.2 kB / 0.9516 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.4896, allocations: 8.594 kB / 0.9516 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.373e-05/0.4896, allocations: 36.05 kB / 0.9516 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.497e-05/0.4896, allocations: 11.34 kB / 0.9516 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.827e-05/0.4897, allocations: 162.9 kB / 0.9518 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.4897, allocations: 13.56 kB / 0.9518 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.4898, allocations: 3.406 kB / 0.9518 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.628e-05/0.4899, allocations: 61.38 kB / 0.9519 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.4899, allocations: 0 / 0.9519 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.4899, allocations: 0.6875 kB / 0.9519 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.4899, allocations: 1.125 kB / 0.9519 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.122e-05/0.49, allocations: 24.61 kB / 0.9519 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000243/0.4902, allocations: 285.9 kB / 0.9522 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.4904, allocations: 69 kB / 0.9522 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.916e-05/0.4904, allocations: 22.58 kB / 0.9522 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.4905, allocations: 0 / 0.9522 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001188/0.4906, allocations: 69.34 kB / 0.9523 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.4906, allocations: 4 kB / 0.9523 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0001927/0.4908, allocations: 92.17 kB / 0.9524 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.823e-05/0.4908, allocations: 52.53 kB / 0.9524 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.226e-05/0.4909, allocations: 105 kB / 0.9525 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.4909, allocations: 25.7 kB / 0.9526 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.79e-05/0.4909, allocations: 81.48 kB / 0.9526 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.4909, allocations: 18.8 kB / 0.9527 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.491, allocations: 18.03 kB / 0.9527 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.32e-05/0.491, allocations: 324.5 kB / 0.953 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.271e-05/0.491, allocations: 15.66 kB / 0.953 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.765e-05/0.4911, allocations: 16.39 kB / 0.953 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.166e-05/0.4911, allocations: 36.73 kB / 0.9531 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.4911, allocations: 1.312 kB / 0.9531 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001025/0.4912, allocations: 77.89 kB / 0.9531 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.4913, allocations: 9.438 kB / 0.9531 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.4913, allocations: 0 / 0.9531 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.4913, allocations: 1.125 kB / 0.9531 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.948e-05/0.4914, allocations: 19.7 kB / 0.9532 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.4914, allocations: 1.094 kB / 0.9532 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.388e-05/0.4914, allocations: 2.156 kB / 0.9532 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.4914, allocations: 5.125 kB / 0.9532 GB, free: 5.703 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: 3 (eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 4.606e-05/0.4915, allocations: 113.1 kB / 0.9533 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.4915, allocations: 9.969 kB / 0.9533 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/0.4917, allocations: 104.6 kB / 0.9534 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4917, allocations: 1.25 kB / 0.9534 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4917, allocations: 4 kB / 0.9534 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4917, allocations: 8.172 kB / 0.9534 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.89e-05/0.4918, allocations: 178.4 kB / 0.9536 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4918, allocations: 5.531 kB / 0.9536 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.66e-05/0.4919, allocations: 12.2 kB / 0.9536 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4919, allocations: 1.469 kB / 0.9536 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.4919, allocations: 0 / 0.9536 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4919, allocations: 1.531 kB / 0.9536 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.4919, allocations: 0 / 0.9536 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.492, allocations: 126.9 kB / 0.9537 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.689e-05/0.492, allocations: 78.73 kB / 0.9538 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.4921, allocations: 5.594 kB / 0.9538 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.425e-05/0.4921, allocations: 5.609 kB / 0.9538 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.4922, allocations: 6.859 kB / 0.9538 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.4922, allocations: 3.438 kB / 0.9538 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.3e-05/0.4922, allocations: 83.44 kB / 0.9539 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4922, allocations: 0 / 0.9539 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001774/0.4924, allocations: 13.5 kB / 0.9539 GB, free: 4.977 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: 2 ($whenCondition1,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000271/0.4927, allocations: 0.6648 MB / 0.9546 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.4928, allocations: 48.14 kB / 0.9546 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4928, allocations: 0 / 0.9546 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.352e-05/0.4929, allocations: 34.36 kB / 0.9546 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.493, allocations: 13.06 kB / 0.9546 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007456/0.4938, allocations: 1.23 MB / 0.9558 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.833e-05/0.4938, allocations: 0.683 MB / 0.9565 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.242e-05/0.4939, allocations: 11.56 kB / 0.9565 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.4939, allocations: 23.5 kB / 0.9565 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.4939, allocations: 0 / 0.9565 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1767/0.6706, allocations: 1.47 MB / 0.958 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001175/0.6708, allocations: 239.7 kB / 0.9582 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.466/2.136, allocations: 1.344 kB / 0.9582 GB, free: 1.41 MB / 0.7169 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)