Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_latest_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.0008291/0.0008292, allocations: 91.38 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.004849/0.004849, allocations: 169.9 kB / 16.26 MB, free: 6.68 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.208/1.208, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.387/2.387, allocations: 462.6 MB / 0.7364 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002821/0.0002821, allocations: 14.78 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2264, allocations: 159.6 MB / 1.059 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001393/0.2278, allocations: 1.178 MB / 1.06 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007009/0.2285, allocations: 498.7 kB / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.187e-05/0.2286, allocations: 4 kB / 1.06 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.34e-05/0.2286, allocations: 0 / 1.06 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001847/0.2288, allocations: 19.91 kB / 1.06 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.927e-05/0.2289, allocations: 15.98 kB / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.733e-05/0.229, allocations: 55.78 kB / 1.06 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.919e-05/0.229, allocations: 8 kB / 1.061 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.36e-05/0.2291, allocations: 15.97 kB / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.161e-05/0.2292, allocations: 23.86 kB / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.2292, allocations: 8 kB / 1.061 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.168e-06/0.2292, allocations: 0 / 1.061 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.485e-05/0.2293, allocations: 19.91 kB / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.247e-05/0.2293, allocations: 41.62 kB / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.942e-05/0.2294, allocations: 40.09 kB / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.2294, allocations: 0 / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.183e-06/0.2294, allocations: 0 / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.2294, allocations: 0 / 1.061 GB, free: 2.91 MB / 0.8106 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.00044/0.2299, allocations: 339.6 kB / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.2299, allocations: 15.97 kB / 1.061 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.356e-05/0.2299, allocations: 30.75 kB / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.561e-05/0.23, allocations: 8.844 kB / 1.061 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.2301, allocations: 176.3 kB / 1.061 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.2301, allocations: 4.375 kB / 1.061 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-06/0.2301, allocations: 384 / 1.061 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.2302, allocations: 61.73 kB / 1.061 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.28e-06/0.2302, allocations: 4 kB / 1.061 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.2302, allocations: 0 / 1.061 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.2303, allocations: 8 kB / 1.061 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.317e-05/0.2303, allocations: 23.98 kB / 1.061 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000314/0.2306, allocations: 276.7 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.2308, allocations: 74.61 kB / 1.062 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.892e-05/0.2309, allocations: 16.86 kB / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.2309, allocations: 0 / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001474/0.2311, allocations: 75.31 kB / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.2311, allocations: 0 / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0001971/0.2313, allocations: 89.61 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.2313, allocations: 55.41 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.019e-05/0.2314, allocations: 106 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.2314, allocations: 25.7 kB / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/0.2314, allocations: 88.14 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.2315, allocations: 15.73 kB / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/0.2315, allocations: 21.7 kB / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.49e-05/0.2316, allocations: 314.8 kB / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.353e-05/0.2316, allocations: 19.97 kB / 1.062 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.907e-05/0.2317, allocations: 16 kB / 1.062 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.484e-05/0.2317, allocations: 44.98 kB / 1.062 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2318, allocations: 0 / 1.062 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001119/0.2319, allocations: 73.62 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.2319, allocations: 4 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.2319, allocations: 0 / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.2319, allocations: 4.031 kB / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.629e-05/0.232, allocations: 11.98 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.232, allocations: 0 / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.279e-05/0.2321, allocations: 4 kB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.2321, allocations: 4 kB / 1.063 GB, free: 0.7031 MB / 0.8106 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 6.779e-05/0.2321, allocations: 123.7 kB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.2322, allocations: 7.906 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/0.2323, allocations: 105.5 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.2324, allocations: 4 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2324, allocations: 0 / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.2324, allocations: 0 / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.2325, allocations: 181.6 kB / 1.063 GB, free: 232 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2325, allocations: 0 / 1.063 GB, free: 232 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.718e-05/0.2326, allocations: 23.94 kB / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2326, allocations: 0 / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.2326, allocations: 0 / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2326, allocations: 0 / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2326, allocations: 256 / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.2328, allocations: 128.9 kB / 1.063 GB, free: 60 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-05/0.2328, allocations: 88.97 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.2328, allocations: 4 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.492e-05/0.2329, allocations: 12 kB / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/0.2329, allocations: 7.984 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.2329, allocations: 4 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.573e-05/0.233, allocations: 83.28 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.233, allocations: 0 / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001742/0.2332, allocations: 8 kB / 1.063 GB, free: 15.84 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.000453/0.2336, allocations: 0.6633 MB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001428/0.2338, allocations: 51.86 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2338, allocations: 4 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.464e-05/0.2339, allocations: 31.92 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.234, allocations: 4 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009363/0.2349, allocations: 1.236 MB / 1.065 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.2351, allocations: 0.6848 MB / 1.066 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.957e-05/0.2352, allocations: 7.984 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.176e-05/0.2352, allocations: 15.44 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2352, allocations: 0 / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3772/0.6124, allocations: 1.412 MB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002622/0.6127, allocations: 252.7 kB / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.501/2.114, allocations: 0 / 1.068 GB, free: 11.5 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)