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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001253/0.001253, allocations: 108 kB / 15.61 MB, free: 152 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.001267/0.001267, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.226/1.226, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.454/2.454, allocations: 461.9 MB / 0.7347 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 62.25 kB / 0.8992 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2476, allocations: 157.4 MB / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002536/0.2502, allocations: 1.445 MB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007648/0.2509, allocations: 0.518 MB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.131e-05/0.251, allocations: 0 / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.251, allocations: 0 / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002074/0.2513, allocations: 19.86 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.93e-05/0.2514, allocations: 27.91 kB / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.597e-05/0.2515, allocations: 51.78 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.292e-05/0.2515, allocations: 12 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.458e-05/0.2516, allocations: 23.97 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.857e-05/0.2517, allocations: 23.91 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.2517, allocations: 4 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.362e-05/0.2518, allocations: 4 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.2518, allocations: 7.938 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.154e-05/0.2518, allocations: 31.84 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.722e-05/0.2519, allocations: 44.09 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2519, allocations: 3.938 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.103e-06/0.2519, allocations: 4 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.252, allocations: 0 / 1.055 GB, free: 6.035 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.0005072/0.2525, allocations: 351.5 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.2525, allocations: 12.62 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.007e-05/0.2525, allocations: 30.75 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.806e-05/0.2526, allocations: 0.9375 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.2527, allocations: 168.3 kB / 1.056 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.2527, allocations: 12.38 kB / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.2527, allocations: 384 / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.2529, allocations: 65.77 kB / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.2529, allocations: 0 / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.2529, allocations: 3.938 kB / 1.056 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2529, allocations: 3.984 kB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.321e-05/0.253, allocations: 27.98 kB / 1.056 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003192/0.2533, allocations: 272.8 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.2535, allocations: 70.61 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.639e-05/0.2536, allocations: 24.84 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.2536, allocations: 0 / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.2537, allocations: 71.33 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.2538, allocations: 0 / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0002076/0.254, allocations: 93.66 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.254, allocations: 55.34 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.117e-05/0.2541, allocations: 101.9 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.2541, allocations: 25.7 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.423e-05/0.2542, allocations: 92.03 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.2542, allocations: 15.75 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.2542, allocations: 21.7 kB / 1.057 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.167e-05/0.2543, allocations: 318.8 kB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.422e-05/0.2544, allocations: 20 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.17e-05/0.2544, allocations: 20.05 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.665e-05/0.2545, allocations: 40.98 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2545, allocations: 256 / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001161/0.2546, allocations: 69.62 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.2546, allocations: 8 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2546, allocations: 4 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.2546, allocations: 0 / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.299e-05/0.2547, allocations: 11.98 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.2547, allocations: 0 / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.489e-05/0.2548, allocations: 8 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.2548, allocations: 4 kB / 1.057 GB, free: 3.816 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 7.317e-05/0.2549, allocations: 121.7 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/0.2549, allocations: 3.906 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001825/0.2551, allocations: 105.6 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.2551, allocations: 0 / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2551, allocations: 0 / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2551, allocations: 4 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.2553, allocations: 185.6 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.2553, allocations: 3.984 kB / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.659e-05/0.2553, allocations: 8 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.2553, allocations: 0 / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.2554, allocations: 3.938 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2554, allocations: 4 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2554, allocations: 0 / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.2555, allocations: 124.9 kB / 1.058 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.571e-05/0.2556, allocations: 92.97 kB / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.2556, allocations: 4 kB / 1.058 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.268e-05/0.2557, allocations: 0 / 1.058 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.2557, allocations: 7.984 kB / 1.058 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.2557, allocations: 4 kB / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.949e-05/0.2558, allocations: 83.28 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2558, allocations: 0 / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001786/0.2559, allocations: 8 kB / 1.058 GB, free: 2.965 MB / 0.8106 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.0004103/0.2564, allocations: 0.6713 MB / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001375/0.2565, allocations: 47.92 kB / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.2565, allocations: 0 / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.078e-05/0.2566, allocations: 35.92 kB / 1.058 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.2567, allocations: 9.547 kB / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.2578, allocations: 1.22 MB / 1.06 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.258, allocations: 0.6924 MB / 1.06 GB, free: 160 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.937e-05/0.2581, allocations: 4 kB / 1.06 GB, free: 156 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.431e-05/0.2581, allocations: 15.42 kB / 1.06 GB, free: 140 kB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.2581, allocations: 4 kB / 1.06 GB, free: 136 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3681/0.6263, allocations: 1.625 MB / 1.062 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.629/9.255, allocations: 11.2 kB / 1.062 GB, free: 14.63 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)