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.0008511/0.0008512, allocations: 97.56 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.004948/0.004948, allocations: 169.2 kB / 16.26 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.352 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.058/2.058, allocations: 390.9 MB / 0.6664 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002804/0.0002805, allocations: 16 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4912/0.4915, allocations: 142.4 MB / 0.9552 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001126/0.4926, allocations: 1.172 MB / 0.9563 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005668/0.4932, allocations: 0.4902 MB / 0.9568 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.913e-05/0.4932, allocations: 3.969 kB / 0.9568 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.46e-05/0.4933, allocations: 0 / 0.9568 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.4934, allocations: 10.64 kB / 0.9568 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.104e-05/0.4935, allocations: 33.25 kB / 0.9568 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.011e-05/0.4936, allocations: 48.38 kB / 0.9569 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.351e-05/0.4937, allocations: 3.562 kB / 0.9569 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.43e-05/0.4937, allocations: 21.58 kB / 0.9569 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.668e-05/0.4938, allocations: 28.33 kB / 0.9569 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.4938, allocations: 2.25 kB / 0.9569 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.839e-06/0.4938, allocations: 1.25 kB / 0.9569 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.622e-05/0.4939, allocations: 6.938 kB / 0.9569 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.389e-05/0.4939, allocations: 46.16 kB / 0.957 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.997e-05/0.494, allocations: 48.55 kB / 0.957 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.494, allocations: 1.812 kB / 0.957 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.52e-07/0.494, allocations: 0 / 0.957 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.955e-06/0.494, allocations: 0 / 0.957 GB, free: 6.324 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.0003586/0.4944, allocations: 344.8 kB / 0.9574 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.4944, allocations: 10.56 kB / 0.9574 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.383e-05/0.4944, allocations: 38.75 kB / 0.9574 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.214e-05/0.4945, allocations: 11.09 kB / 0.9574 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.328e-05/0.4945, allocations: 163.9 kB / 0.9576 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.4945, allocations: 2.094 kB / 0.9576 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.4946, allocations: 5.438 kB / 0.9576 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.039e-05/0.4946, allocations: 61.5 kB / 0.9576 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-06/0.4947, allocations: 1.5 kB / 0.9576 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.4947, allocations: 0 / 0.9576 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.4947, allocations: 1.656 kB / 0.9576 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.595e-05/0.4947, allocations: 23.27 kB / 0.9577 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002296/0.495, allocations: 285.7 kB / 0.9579 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.4952, allocations: 61.86 kB / 0.958 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.702e-05/0.4952, allocations: 25.97 kB / 0.958 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.4952, allocations: 5.516 kB / 0.958 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001186/0.4953, allocations: 76.73 kB / 0.9581 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.4954, allocations: 0 / 0.9581 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0001759/0.4955, allocations: 96.75 kB / 0.9582 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.615e-05/0.4956, allocations: 51.41 kB / 0.9582 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.859e-05/0.4956, allocations: 101.1 kB / 0.9583 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.664e-06/0.4956, allocations: 25.7 kB / 0.9584 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.672e-05/0.4956, allocations: 85.94 kB / 0.9585 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.4957, allocations: 13.59 kB / 0.9585 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.956e-05/0.4957, allocations: 15.5 kB / 0.9585 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.217e-05/0.4957, allocations: 324.5 kB / 0.9588 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.055e-05/0.4958, allocations: 11.22 kB / 0.9588 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.672e-05/0.4958, allocations: 20.83 kB / 0.9588 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.641e-05/0.4958, allocations: 33.64 kB / 0.9589 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.4959, allocations: 0 / 0.9589 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.549e-05/0.496, allocations: 75.27 kB / 0.9589 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/0.496, allocations: 4.125 kB / 0.9589 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.496, allocations: 5.312 kB / 0.9589 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.545e-06/0.496, allocations: 4 kB / 0.9589 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.452e-05/0.4961, allocations: 12.25 kB / 0.9589 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.4961, allocations: 3.938 kB / 0.959 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.096e-05/0.4961, allocations: 8.109 kB / 0.959 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.4961, allocations: 5.312 kB / 0.959 GB, free: 4.367 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.642e-05/0.4962, allocations: 116.5 kB / 0.9591 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.027e-05/0.4962, allocations: 2.75 kB / 0.9591 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001521/0.4964, allocations: 111.8 kB / 0.9592 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.4964, allocations: 1.375 kB / 0.9592 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.4964, allocations: 0 / 0.9592 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4964, allocations: 1.375 kB / 0.9592 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.652e-05/0.4965, allocations: 186 kB / 0.9594 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4965, allocations: 0 / 0.9594 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.429e-05/0.4965, allocations: 13.61 kB / 0.9594 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.4965, allocations: 0 / 0.9594 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.4966, allocations: 1.375 kB / 0.9594 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4966, allocations: 0 / 0.9594 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4966, allocations: 5.375 kB / 0.9594 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.4967, allocations: 121.4 kB / 0.9595 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.596e-05/0.4967, allocations: 83.95 kB / 0.9596 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.4967, allocations: 0 / 0.9596 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.348e-05/0.4968, allocations: 7.859 kB / 0.9596 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.4968, allocations: 3.438 kB / 0.9596 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.4969, allocations: 10.3 kB / 0.9596 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.244e-05/0.4969, allocations: 83.88 kB / 0.9597 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4969, allocations: 0 / 0.9597 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001749/0.4971, allocations: 14.09 kB / 0.9597 GB, free: 3.641 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.00026/0.4973, allocations: 0.656 MB / 0.9603 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.992e-05/0.4974, allocations: 49.11 kB / 0.9604 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.4974, allocations: 4 kB / 0.9604 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.053e-05/0.4975, allocations: 34.23 kB / 0.9604 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.4976, allocations: 6.781 kB / 0.9604 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007102/0.4983, allocations: 1.246 MB / 0.9616 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.905e-05/0.4984, allocations: 0.6846 MB / 0.9623 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.022e-05/0.4985, allocations: 12.5 kB / 0.9623 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.582e-05/0.4985, allocations: 18.17 kB / 0.9623 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.4985, allocations: 0 / 0.9623 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2091/0.7077, allocations: 1.403 MB / 0.9637 GB, free: 424 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001283/0.7078, allocations: 243.3 kB / 0.9639 GB, free: 156 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.608/2.315, allocations: 0.9688 kB / 0.9639 GB, free: 156 kB / 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)