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.004835/0.004835, allocations: 101.7 kB / 15.73 MB, free: 6.449 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.001426/0.001427, allocations: 194.2 kB / 16.68 MB, free: 6.352 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 4.277 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.558/2.558, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 71.83 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.249, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002204/0.2512, allocations: 1.454 MB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007239/0.252, allocations: 0.4987 MB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.081e-05/0.252, allocations: 0 / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.649e-05/0.252, allocations: 3.938 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.2522, allocations: 27.84 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.886e-05/0.2523, allocations: 27.91 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.035e-05/0.2524, allocations: 47.8 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.118e-05/0.2525, allocations: 11.98 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.869e-05/0.2526, allocations: 23.97 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.844e-05/0.2527, allocations: 19.92 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.2527, allocations: 4 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.275e-05/0.2527, allocations: 4 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.591e-05/0.2527, allocations: 19.91 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.587e-05/0.2528, allocations: 15.94 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.569e-05/0.2529, allocations: 43.81 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.2529, allocations: 0 / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2529, allocations: 0 / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.2529, allocations: 0 / 1.222 GB, free: 12.09 MB / 0.9825 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.0005228/0.2534, allocations: 359.3 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.2534, allocations: 8.031 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.389e-05/0.2535, allocations: 42.69 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.171e-05/0.2535, allocations: 0.9375 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.2536, allocations: 172.4 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.2537, allocations: 384 / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.2537, allocations: 8.375 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.2538, allocations: 61.78 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.2538, allocations: 0 / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.2538, allocations: 7.984 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.2538, allocations: 0 / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.297e-05/0.2539, allocations: 23.92 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003222/0.2542, allocations: 280.8 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.2544, allocations: 62.69 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.446e-05/0.2545, allocations: 28.78 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.2545, allocations: 0 / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.2546, allocations: 75.31 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.2546, allocations: 0 / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0002024/0.2549, allocations: 85.67 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.2549, allocations: 55.34 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.521e-05/0.255, allocations: 109.8 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.255, allocations: 29.7 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.255, allocations: 88.03 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.2551, allocations: 19.97 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.477e-05/0.2551, allocations: 21.7 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.2552, allocations: 318.7 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.586e-05/0.2553, allocations: 15.98 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.14e-05/0.2553, allocations: 16 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.022e-05/0.2554, allocations: 44.84 kB / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2554, allocations: 256 / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001157/0.2555, allocations: 69.64 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/0.2555, allocations: 4 kB / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.2556, allocations: 4 kB / 1.224 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.2556, allocations: 7.984 kB / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.79e-05/0.2556, allocations: 11.94 kB / 1.224 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.2557, allocations: 0 / 1.224 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.717e-05/0.2557, allocations: 0 / 1.224 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.2557, allocations: 7.984 kB / 1.224 GB, free: 9.859 MB / 0.9825 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.687e-05/0.2558, allocations: 122.3 kB / 1.224 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.024e-05/0.2558, allocations: 0 / 1.224 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.256, allocations: 105.6 kB / 1.224 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.256, allocations: 0 / 1.224 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.256, allocations: 0 / 1.224 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.256, allocations: 0 / 1.224 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.2562, allocations: 189.5 kB / 1.225 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2562, allocations: 0 / 1.225 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.705e-05/0.2563, allocations: 16 kB / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2563, allocations: 4 kB / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.2563, allocations: 3.984 kB / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.2563, allocations: 0 / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2563, allocations: 7.938 kB / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.2565, allocations: 121 kB / 1.225 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.545e-05/0.2565, allocations: 81.06 kB / 1.225 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.2565, allocations: 4 kB / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.063e-05/0.2566, allocations: 4 kB / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.2566, allocations: 11.98 kB / 1.225 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.2567, allocations: 4 kB / 1.225 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.491e-05/0.2567, allocations: 91.39 kB / 1.225 GB, free: 9 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2567, allocations: 0 / 1.225 GB, free: 9 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001703/0.2569, allocations: 8 kB / 1.225 GB, free: 8.992 MB / 0.9825 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.0004412/0.2573, allocations: 0.6633 MB / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001259/0.2575, allocations: 51.91 kB / 1.226 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.2575, allocations: 0 / 1.226 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.567e-05/0.2575, allocations: 24 kB / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001277/0.2577, allocations: 11.16 kB / 1.226 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.2587, allocations: 1.242 MB / 1.227 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.259, allocations: 0.6807 MB / 1.228 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.996e-05/0.2591, allocations: 12.36 kB / 1.228 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.823e-05/0.2591, allocations: 19.38 kB / 1.228 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.2591, allocations: 0 / 1.228 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.366/2.625, allocations: 1.662 MB / 1.229 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/16.55, allocations: 17.33 kB / 1.229 GB, free: 4.633 MB / 0.9825 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)