Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.EquationOfTime,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_10_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.006277/0.006277, allocations: 97.64 kB / 15.73 MB, free: 6.055 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.001763/0.001763, allocations: 197.2 kB / 16.68 MB, free: 5.977 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.376/2.376, allocations: 437.1 MB / 0.7106 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 63.89 kB / 1.018 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2429, allocations: 151.6 MB / 1.166 GB, free: 7.383 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002193/0.2451, allocations: 1.439 MB / 1.168 GB, free: 5.922 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007216/0.2459, allocations: 0.5026 MB / 1.168 GB, free: 5.414 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.333e-05/0.2459, allocations: 0 / 1.168 GB, free: 5.414 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.251e-05/0.2459, allocations: 7.875 kB / 1.168 GB, free: 5.406 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.2461, allocations: 27.84 kB / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 8.207e-05/0.2462, allocations: 23.92 kB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.604e-05/0.2463, allocations: 51.84 kB / 1.168 GB, free: 5.305 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.262e-05/0.2464, allocations: 8 kB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.724e-05/0.2464, allocations: 27.91 kB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.652e-05/0.2465, allocations: 23.91 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.2465, allocations: 4 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.422e-05/0.2466, allocations: 4 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.18e-05/0.2466, allocations: 11.97 kB / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.826e-05/0.2466, allocations: 19.94 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.679e-05/0.2467, allocations: 44.03 kB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.2467, allocations: 4 kB / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2467, allocations: 4 kB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.2467, allocations: 0 / 1.168 GB, free: 5.156 MB / 0.92 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.0005127/0.2473, allocations: 355.3 kB / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.2473, allocations: 12.03 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.276e-05/0.2473, allocations: 34.75 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.382e-05/0.2474, allocations: 8.891 kB / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.2475, allocations: 168.4 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.2475, allocations: 8.359 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.2475, allocations: 4.375 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.2476, allocations: 53.8 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.2477, allocations: 0 / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.2477, allocations: 4 kB / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.2477, allocations: 4 kB / 1.169 GB, free: 4.418 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.343e-05/0.2477, allocations: 27.92 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.2481, allocations: 280.7 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.2483, allocations: 66.67 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.061e-05/0.2483, allocations: 20.84 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.2483, allocations: 0 / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001379/0.2485, allocations: 79.31 kB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.2485, allocations: 4 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0001971/0.2487, allocations: 81.67 kB / 1.17 GB, free: 3.789 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.2487, allocations: 55.41 kB / 1.17 GB, free: 3.723 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.011e-05/0.2488, allocations: 101.8 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.2488, allocations: 29.7 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.741e-05/0.2489, allocations: 84.14 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.2489, allocations: 23.86 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.249, allocations: 25.7 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.2491, allocations: 322.7 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.708e-05/0.2491, allocations: 15.98 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.938e-05/0.2492, allocations: 16 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.512e-05/0.2492, allocations: 36.84 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.2493, allocations: 0 / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001123/0.2494, allocations: 65.69 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.2494, allocations: 8 kB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.2494, allocations: 3.938 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/0.2494, allocations: 0 / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.978e-05/0.2495, allocations: 15.92 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-06/0.2495, allocations: 4.234 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.618e-05/0.2496, allocations: 11.89 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.2496, allocations: 3.984 kB / 1.17 GB, free: 2.926 MB / 0.92 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 8.438e-05/0.2497, allocations: 121.8 kB / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.027e-05/0.2497, allocations: 0 / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001845/0.2499, allocations: 105.6 kB / 1.171 GB, free: 2.684 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.2499, allocations: 0 / 1.171 GB, free: 2.684 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.2499, allocations: 8 kB / 1.171 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.2499, allocations: 0 / 1.171 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.25, allocations: 185.5 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2501, allocations: 0 / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.942e-05/0.2501, allocations: 12.25 kB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2501, allocations: 0 / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.2501, allocations: 8 kB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2502, allocations: 0 / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.2502, allocations: 0 / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.2503, allocations: 121 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/0.2504, allocations: 89.05 kB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.2504, allocations: 192 / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.399e-05/0.2505, allocations: 8 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.2505, allocations: 12.05 kB / 1.171 GB, free: 2.164 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.2505, allocations: 4 kB / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.187e-05/0.2506, allocations: 91.25 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2506, allocations: 0 / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001715/0.2508, allocations: 12 kB / 1.171 GB, free: 2.059 MB / 0.92 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.0004516/0.2512, allocations: 0.6553 MB / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001149/0.2513, allocations: 47.92 kB / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.2513, allocations: 0 / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.809e-05/0.2514, allocations: 31.98 kB / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.2515, allocations: 0 / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.2526, allocations: 1.238 MB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.2529, allocations: 0.6884 MB / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.484e-05/0.253, allocations: 7.984 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.253, allocations: 15.44 kB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.253, allocations: 0 / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.381/3.634, allocations: 1.673 MB / 1.175 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.46/19.09, allocations: 14.5 kB / 1.175 GB, free: 13.71 MB / 0.9356 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)