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.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.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.00114/0.00114, 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.001145/0.001145, allocations: 193 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.165/1.165, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.014/2.014, allocations: 390.2 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 59.91 kB / 0.8127 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4795/0.4806, allocations: 140.4 MB / 0.9497 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001874/0.4826, allocations: 1.442 MB / 0.9511 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005648/0.4831, allocations: 0.4993 MB / 0.9516 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.05e-05/0.4832, allocations: 5.219 kB / 0.9516 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.505e-05/0.4832, allocations: 0 / 0.9516 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.4834, allocations: 25.06 kB / 0.9516 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.543e-05/0.4835, allocations: 26 kB / 0.9517 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.317e-05/0.4835, allocations: 47.81 kB / 0.9517 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.267e-05/0.4836, allocations: 8.062 kB / 0.9517 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.02e-05/0.4837, allocations: 22.61 kB / 0.9517 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.786e-05/0.4837, allocations: 31.83 kB / 0.9518 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.4838, allocations: 8.438 kB / 0.9518 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.323e-05/0.4838, allocations: 7.812 kB / 0.9518 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.4838, allocations: 9.328 kB / 0.9518 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.503e-05/0.4838, allocations: 25.66 kB / 0.9518 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.805e-05/0.4839, allocations: 45.64 kB / 0.9519 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4839, allocations: 0 / 0.9519 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4839, allocations: 0 / 0.9519 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.4839, allocations: 0 / 0.9519 GB, free: 7.461 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.0004186/0.4844, allocations: 358.5 kB / 0.9522 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.4844, allocations: 9.719 kB / 0.9522 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.442e-05/0.4844, allocations: 32.19 kB / 0.9523 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.391e-05/0.4845, allocations: 6.312 kB / 0.9523 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.617e-05/0.4845, allocations: 167.3 kB / 0.9524 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.4845, allocations: 6.969 kB / 0.9524 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-06/0.4846, allocations: 1.688 kB / 0.9524 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.736e-05/0.4847, allocations: 69.64 kB / 0.9525 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.4847, allocations: 0 / 0.9525 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.4847, allocations: 5.062 kB / 0.9525 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.4847, allocations: 0.9062 kB / 0.9525 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.902e-05/0.4848, allocations: 23.8 kB / 0.9525 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002409/0.485, allocations: 287.8 kB / 0.9528 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.4852, allocations: 65.61 kB / 0.9529 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.778e-05/0.4852, allocations: 29.47 kB / 0.9529 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.4853, allocations: 1.469 kB / 0.9529 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001135/0.4854, allocations: 65.23 kB / 0.9529 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.4854, allocations: 0 / 0.9529 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0001861/0.4856, allocations: 96.56 kB / 0.953 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.2e-05/0.4856, allocations: 51.41 kB / 0.9531 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.261e-05/0.4857, allocations: 104.3 kB / 0.9532 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/0.4857, allocations: 30.75 kB / 0.9532 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.737e-05/0.4857, allocations: 81.05 kB / 0.9533 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.4857, allocations: 15 kB / 0.9533 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.4858, allocations: 22.08 kB / 0.9533 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.416e-05/0.4858, allocations: 316.8 kB / 0.9536 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.307e-05/0.4858, allocations: 19.27 kB / 0.9537 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.675e-05/0.4859, allocations: 11.97 kB / 0.9537 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.992e-05/0.4859, allocations: 38.09 kB / 0.9537 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.4859, allocations: 4 kB / 0.9537 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.809e-05/0.486, allocations: 82.72 kB / 0.9538 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.486, allocations: 4.875 kB / 0.9538 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/0.4861, allocations: 3.938 kB / 0.9538 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.4861, allocations: 1.219 kB / 0.9538 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.701e-05/0.4861, allocations: 12.83 kB / 0.9538 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.4861, allocations: 0 / 0.9538 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.042e-05/0.4862, allocations: 2.625 kB / 0.9538 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.4862, allocations: 5.188 kB / 0.9538 GB, free: 5.492 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.639e-05/0.4863, allocations: 121.1 kB / 0.9539 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/0.4863, allocations: 6.312 kB / 0.9539 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001575/0.4865, allocations: 107.6 kB / 0.954 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.4865, allocations: 1.094 kB / 0.954 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.4865, allocations: 1.156 kB / 0.954 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4865, allocations: 0 / 0.954 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.997e-05/0.4866, allocations: 182.5 kB / 0.9542 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4866, allocations: 0 / 0.9542 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.616e-05/0.4866, allocations: 16.91 kB / 0.9542 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4867, allocations: 1.594 kB / 0.9542 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.4867, allocations: 1.25 kB / 0.9542 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4867, allocations: 4 kB / 0.9542 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4867, allocations: 1.469 kB / 0.9542 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.4868, allocations: 120.8 kB / 0.9544 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.777e-05/0.4868, allocations: 83.81 kB / 0.9544 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.4869, allocations: 5.719 kB / 0.9544 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.25e-05/0.4869, allocations: 5.25 kB / 0.9544 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.86e-05/0.487, allocations: 7.953 kB / 0.9544 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.487, allocations: 3.156 kB / 0.9545 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.373e-05/0.487, allocations: 87.67 kB / 0.9545 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.487, allocations: 0 / 0.9545 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001756/0.4872, allocations: 13.61 kB / 0.9545 GB, free: 4.758 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.0002759/0.4875, allocations: 0.6645 MB / 0.9552 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001136/0.4876, allocations: 48.73 kB / 0.9552 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4876, allocations: 0 / 0.9552 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.151e-05/0.4876, allocations: 34.61 kB / 0.9553 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.4878, allocations: 6.188 kB / 0.9553 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007193/0.4885, allocations: 1.231 MB / 0.9565 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.479e-05/0.4886, allocations: 0.6908 MB / 0.9572 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.81e-05/0.4886, allocations: 2.75 kB / 0.9572 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.4887, allocations: 19.17 kB / 0.9572 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.4887, allocations: 1.125 kB / 0.9572 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01548/0.5042, allocations: 1.634 MB / 0.9588 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.237/6.741, allocations: 14.38 kB / 0.9588 GB, free: 1.293 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)