Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7849/0.7849, allocations: 143.3 MB / 158.3 MB, free: 5.812 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009935/0.0009936, allocations: 177 kB / 191.5 MB, free: 5.77 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 223.2 MB / 447.7 MB, free: 6.562 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008932/0.0008931, allocations: 87.55 kB / 0.5187 GB, free: 2.922 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001743/0.001743, allocations: 270 kB / 0.6005 GB, free: 48.99 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004116/0.0004118, allocations: 20 kB / 0.693 GB, free: 2.207 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3142, allocations: 82.77 MB / 0.7738 GB, free: 26.09 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1363/0.4506, allocations: 109 MB / 0.8803 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.4509, allocations: 91.92 kB / 0.8804 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.00236/0.4533, allocations: 0.851 MB / 0.8812 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4533, allocations: 4 kB / 0.8812 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.4533, allocations: 0 / 0.8812 GB, free: 11.97 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002855/0.4536, allocations: 327.4 kB / 0.8815 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.4536, allocations: 8.828 kB / 0.8815 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.427e-05/0.4537, allocations: 38.56 kB / 0.8815 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.007e-05/0.4537, allocations: 0 / 0.8815 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.912e-05/0.4538, allocations: 163 kB / 0.8817 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.4538, allocations: 0 / 0.8817 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.4538, allocations: 11.98 kB / 0.8817 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.671e-05/0.4539, allocations: 37.69 kB / 0.8817 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.454, allocations: 0 / 0.8817 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.454, allocations: 3.984 kB / 0.8818 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.454, allocations: 0 / 0.8818 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.369e-05/0.454, allocations: 15.94 kB / 0.8818 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002976/0.4543, allocations: 252.9 kB / 0.882 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.4545, allocations: 42.56 kB / 0.8821 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.4545, allocations: 0 / 0.8821 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.4546, allocations: 38.5 kB / 0.8821 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.4546, allocations: 3.938 kB / 0.8821 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0001522/0.4547, allocations: 45.84 kB / 0.8821 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.4548, allocations: 55.41 kB / 0.8822 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.427e-05/0.4548, allocations: 85 kB / 0.8823 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.4548, allocations: 37.64 kB / 0.8823 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.259e-05/0.4549, allocations: 80.14 kB / 0.8824 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.4549, allocations: 15.73 kB / 0.8824 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/0.4549, allocations: 0 / 0.8824 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.455, allocations: 314.8 kB / 0.8827 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.658e-05/0.455, allocations: 4 kB / 0.8827 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.69e-05/0.4551, allocations: 4 kB / 0.8827 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.121e-05/0.4551, allocations: 15.94 kB / 0.8827 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.4551, allocations: 0 / 0.8827 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.558e-05/0.4552, allocations: 53.62 kB / 0.8828 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.4552, allocations: 4 kB / 0.8828 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.4552, allocations: 0 / 0.8828 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.4552, allocations: 0 / 0.8828 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.729e-05/0.4553, allocations: 4 kB / 0.8828 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.4553, allocations: 4 kB / 0.8828 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.433e-05/0.4553, allocations: 0 / 0.8828 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.4553, allocations: 3.984 kB / 0.8828 GB, free: 10.12 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.936e-05/0.4554, allocations: 116.5 kB / 0.8829 GB, free: 9.996 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.4554, allocations: 8 kB / 0.8829 GB, free: 9.988 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.4556, allocations: 69.11 kB / 0.883 GB, free: 9.91 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.4556, allocations: 4 kB / 0.883 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.4556, allocations: 0 / 0.883 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.4556, allocations: 0 / 0.883 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.4558, allocations: 165.6 kB / 0.8831 GB, free: 9.695 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.4558, allocations: 3.953 kB / 0.8831 GB, free: 9.691 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.179e-05/0.4559, allocations: 8 kB / 0.8831 GB, free: 9.684 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4559, allocations: 0 / 0.8831 GB, free: 9.684 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.4559, allocations: 7.984 kB / 0.8832 GB, free: 9.676 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4559, allocations: 0 / 0.8832 GB, free: 9.676 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4559, allocations: 4.062 kB / 0.8832 GB, free: 9.672 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.456, allocations: 155.5 kB / 0.8833 GB, free: 9.504 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.4561, allocations: 85.06 kB / 0.8834 GB, free: 9.402 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.4561, allocations: 4 kB / 0.8834 GB, free: 9.398 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.538e-05/0.4562, allocations: 0 / 0.8834 GB, free: 9.398 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.4562, allocations: 4.328 kB / 0.8834 GB, free: 9.395 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.4562, allocations: 7.984 kB / 0.8834 GB, free: 9.387 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.439e-05/0.4562, allocations: 82.66 kB / 0.8835 GB, free: 9.309 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1e-07/0.4562, allocations: 0 / 0.8835 GB, free: 9.309 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002083/0.4564, allocations: 7.938 kB / 0.8835 GB, free: 9.301 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004025/0.4568, allocations: 0.6929 MB / 0.8842 GB, free: 8.582 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.964e-05/0.4569, allocations: 31.97 kB / 0.8842 GB, free: 8.551 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4569, allocations: 0 / 0.8842 GB, free: 8.551 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.517e-05/0.457, allocations: 16 kB / 0.8842 GB, free: 8.535 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001149/0.4571, allocations: 8.547 kB / 0.8842 GB, free: 8.527 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003892/0.4575, allocations: 163.5 kB / 0.8844 GB, free: 8.328 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.4578, allocations: 0.6809 MB / 0.885 GB, free: 7.621 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.685e-05/0.4578, allocations: 8 kB / 0.885 GB, free: 7.613 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.4578, allocations: 7.438 kB / 0.8851 GB, free: 7.605 MB / 0.5417 GB Notification: Performance of SimCode: time 3e-07/0.4578, allocations: 0 / 0.8851 GB, free: 7.605 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01032/0.4682, allocations: 0.9921 MB / 0.886 GB, free: 6.82 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/0.4684, allocations: 230.2 kB / 0.8862 GB, free: 6.57 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.393/1.861, allocations: 0 / 0.8862 GB, free: 6.57 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)