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.003601/0.003601, allocations: 101.4 kB / 15.73 MB, free: 6.48 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.0009381/0.0009381, allocations: 194.6 kB / 16.67 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.213/1.213, allocations: 222.9 MB / 240.4 MB, free: 4.367 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.204/2.204, allocations: 390.3 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 64.95 kB / 0.9504 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2278, allocations: 140.4 MB / 1.087 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002259/0.23, allocations: 1.447 MB / 1.089 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007239/0.2308, allocations: 0.4962 MB / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.2308, allocations: 4 kB / 1.089 GB, free: 60 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.474e-05/0.2309, allocations: 7.922 kB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.2311, allocations: 27.86 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001016/0.2312, allocations: 27.98 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.634e-05/0.2313, allocations: 51.8 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.519e-05/0.2313, allocations: 7.891 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.716e-05/0.2314, allocations: 23.98 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.858e-05/0.2315, allocations: 19.92 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.2315, allocations: 4 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.232e-05/0.2315, allocations: 4 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.536e-05/0.2316, allocations: 23.91 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.807e-05/0.2316, allocations: 15.92 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.151e-05/0.2317, allocations: 46.69 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2317, allocations: 4 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2317, allocations: 3.938 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.2317, allocations: 0 / 1.09 GB, free: 15.8 MB / 0.8575 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.0005067/0.2322, allocations: 352.2 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.2323, allocations: 12.03 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.411e-05/0.2323, allocations: 34.69 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.567e-05/0.2323, allocations: 4.938 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.2325, allocations: 176.3 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.2325, allocations: 384 / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.2325, allocations: 4.375 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.2326, allocations: 57.8 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.2326, allocations: 3.984 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.2326, allocations: 0 / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.2327, allocations: 0 / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.875e-05/0.2327, allocations: 35.91 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003192/0.2331, allocations: 272.8 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.2333, allocations: 66.67 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.306e-05/0.2333, allocations: 16.86 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.2333, allocations: 4 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001405/0.2335, allocations: 75.31 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.2335, allocations: 0 / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0002126/0.2337, allocations: 89.67 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.2338, allocations: 51.41 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.546e-05/0.2338, allocations: 105.8 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.2338, allocations: 25.7 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.313e-05/0.2339, allocations: 88.05 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.2339, allocations: 27.8 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.234, allocations: 17.72 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.578e-05/0.2341, allocations: 322.8 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.662e-05/0.2341, allocations: 15.94 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.127e-05/0.2341, allocations: 15.98 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.516e-05/0.2342, allocations: 32.86 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.2342, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001113/0.2343, allocations: 73.67 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.2343, allocations: 8 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.2344, allocations: 0 / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.2344, allocations: 0 / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.521e-05/0.2345, allocations: 15.94 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.2345, allocations: 0 / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.71e-05/0.2345, allocations: 11.89 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.2346, allocations: 4 kB / 1.092 GB, free: 13.58 MB / 0.8575 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 7.339e-05/0.2346, allocations: 113.8 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.341e-05/0.2347, allocations: 8.188 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001825/0.2348, allocations: 101.6 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2349, allocations: 4 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2349, allocations: 4 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2349, allocations: 0 / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.235, allocations: 189.5 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.235, allocations: 0 / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.318e-05/0.2351, allocations: 15.98 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2351, allocations: 3.938 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.2351, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2351, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2351, allocations: 4.234 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.2353, allocations: 128.9 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/0.2353, allocations: 77.11 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.2353, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.019e-05/0.2354, allocations: 7.984 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.2355, allocations: 8 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.2355, allocations: 3.984 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.991e-05/0.2355, allocations: 83.47 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2355, allocations: 7.938 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001911/0.2357, allocations: 15.91 kB / 1.092 GB, free: 12.71 MB / 0.8575 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.0003896/0.2361, allocations: 0.6577 MB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001279/0.2363, allocations: 55.95 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2363, allocations: 4 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.725e-05/0.2363, allocations: 35.92 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.2365, allocations: 5.719 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.2375, allocations: 1.219 MB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.2377, allocations: 0.6846 MB / 1.095 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.766e-05/0.2378, allocations: 7.75 kB / 1.095 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.265e-05/0.2378, allocations: 23.44 kB / 1.095 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of SimCode: time 1.493e-06/0.2378, allocations: 0 / 1.095 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/0.2611, allocations: 1.653 MB / 1.097 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.662/8.923, allocations: 13.69 kB / 1.097 GB, free: 8.371 MB / 0.8575 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)