Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_11_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.001458/0.001458, 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.001389/0.001389, allocations: 193.3 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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.622/2.622, allocations: 469.8 MB / 0.7424 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 71.27 kB / 0.9087 GB, free: 34.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2422, allocations: 159.1 MB / 1.064 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.00242/0.2447, allocations: 1.462 MB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007338/0.2454, allocations: 0.4927 MB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.035e-05/0.2455, allocations: 0 / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.574e-05/0.2455, allocations: 3.938 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000172/0.2457, allocations: 23.91 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.473e-05/0.2458, allocations: 27.91 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.969e-05/0.2459, allocations: 47.8 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.066e-05/0.246, allocations: 11.98 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.373e-05/0.246, allocations: 23.92 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.015e-05/0.2461, allocations: 23.91 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.2461, allocations: 4 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.329e-05/0.2462, allocations: 4 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.409e-05/0.2462, allocations: 15.91 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.923e-05/0.2462, allocations: 23.94 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.98e-05/0.2463, allocations: 44.09 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.2463, allocations: 0 / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2463, allocations: 0 / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.2463, allocations: 4 kB / 1.066 GB, free: 11.93 MB / 0.8262 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.0005198/0.2469, allocations: 343.5 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.2469, allocations: 12.03 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.633e-05/0.247, allocations: 42.75 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.708e-05/0.247, allocations: 4.938 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.2471, allocations: 176.2 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.2471, allocations: 4.375 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.2472, allocations: 4.375 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.2473, allocations: 65.72 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.2473, allocations: 0 / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.2473, allocations: 0 / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.2473, allocations: 4 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.546e-05/0.2474, allocations: 23.98 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.2477, allocations: 276.8 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.2479, allocations: 62.62 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.639e-05/0.248, allocations: 24.84 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.248, allocations: 0 / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001372/0.2481, allocations: 79.31 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.163e-06/0.2481, allocations: 3.938 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0002134/0.2484, allocations: 89.61 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.2484, allocations: 55.41 kB / 1.067 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.269e-05/0.2485, allocations: 101.8 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.2485, allocations: 25.7 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.2486, allocations: 88.05 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.2486, allocations: 19.81 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.2486, allocations: 25.7 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.2488, allocations: 318.8 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.812e-05/0.2488, allocations: 19.98 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.878e-05/0.2488, allocations: 12 kB / 1.068 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.947e-05/0.2489, allocations: 36.84 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2489, allocations: 0 / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001181/0.249, allocations: 69.62 kB / 1.068 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.2491, allocations: 8 kB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.2491, allocations: 4 kB / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.2491, allocations: 0 / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.918e-05/0.2492, allocations: 11.98 kB / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.2492, allocations: 0 / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.476e-05/0.2492, allocations: 7.906 kB / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.2493, allocations: 3.984 kB / 1.068 GB, free: 9.707 MB / 0.8262 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.326e-05/0.2493, allocations: 117.8 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.2494, allocations: 192 / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001854/0.2496, allocations: 109.8 kB / 1.068 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.2496, allocations: 3.984 kB / 1.068 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.2496, allocations: 4 kB / 1.068 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2496, allocations: 4 kB / 1.068 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.2497, allocations: 185.6 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2497, allocations: 0 / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.831e-05/0.2498, allocations: 11.94 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2498, allocations: 0 / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.2498, allocations: 4 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2498, allocations: 0 / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.2498, allocations: 7.984 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.25, allocations: 124.9 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.223e-05/0.2501, allocations: 88.95 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.2501, allocations: 3.938 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.479e-05/0.2502, allocations: 4 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.636e-05/0.2502, allocations: 7.984 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.2502, allocations: 4 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.97e-05/0.2503, allocations: 91.27 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2503, allocations: 0 / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001763/0.2505, allocations: 12 kB / 1.069 GB, free: 8.836 MB / 0.8262 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.0004487/0.2509, allocations: 0.6519 MB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001273/0.2511, allocations: 51.91 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.2511, allocations: 4 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.832e-05/0.2511, allocations: 31.94 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.2513, allocations: 7.938 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.2524, allocations: 1.22 MB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.2526, allocations: 0.6846 MB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.081e-05/0.2527, allocations: 8 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.347e-05/0.2527, allocations: 23.36 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.2527, allocations: 0 / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.13/1.383, allocations: 1.622 MB / 1.073 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/12.42, allocations: 9.359 kB / 1.073 GB, free: 4.516 MB / 0.8262 GB (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)