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.7/0.7, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009926/0.0009926, allocations: 179.3 kB / 187.3 MB, free: 11.89 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.275/1.275, allocations: 221.3 MB / 441.4 MB, free: 4.621 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.0008661/0.0008661, allocations: 95.88 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0017/0.0017, allocations: 272.3 kB / 0.5939 GB, free: 7.984 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.079e-05/3.089e-05, allocations: 8 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3397, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1038/0.4436, allocations: 109 MB / 0.8708 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/0.4438, allocations: 82.95 kB / 0.8709 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.002157/0.446, allocations: 0.847 MB / 0.8717 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.373e-06/0.446, allocations: 0 / 0.8717 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.446, allocations: 0 / 0.8717 GB, free: 14.65 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.0002485/0.4463, allocations: 326.5 kB / 0.872 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.4463, allocations: 12.03 kB / 0.872 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.414e-05/0.4464, allocations: 34.56 kB / 0.8721 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.814e-05/0.4464, allocations: 0 / 0.8721 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.745e-05/0.4465, allocations: 171 kB / 0.8722 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.4465, allocations: 4 kB / 0.8722 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.4465, allocations: 4 kB / 0.8722 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.232e-05/0.4466, allocations: 41.69 kB / 0.8723 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.4466, allocations: 0 / 0.8723 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.4466, allocations: 4 kB / 0.8723 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.4466, allocations: 0 / 0.8723 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.862e-05/0.4467, allocations: 12 kB / 0.8723 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002617/0.447, allocations: 248.9 kB / 0.8725 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.4471, allocations: 42.55 kB / 0.8726 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.962e-05/0.4471, allocations: 16.92 kB / 0.8726 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.4472, allocations: 96 / 0.8726 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.4472, allocations: 34.55 kB / 0.8726 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.4472, allocations: 0 / 0.8726 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0001321/0.4473, allocations: 49.62 kB / 0.8727 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.4474, allocations: 51.41 kB / 0.8727 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.899e-05/0.4474, allocations: 85 kB / 0.8728 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.4474, allocations: 25.7 kB / 0.8728 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.707e-05/0.4475, allocations: 92.14 kB / 0.8729 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.4475, allocations: 11.75 kB / 0.8729 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.4475, allocations: 0 / 0.8729 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.738e-05/0.4476, allocations: 314.8 kB / 0.8732 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.521e-05/0.4476, allocations: 8 kB / 0.8732 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.298e-05/0.4476, allocations: 7.984 kB / 0.8732 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.345e-05/0.4477, allocations: 4 kB / 0.8732 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4477, allocations: 0 / 0.8732 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.064e-05/0.4477, allocations: 49.69 kB / 0.8733 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.4478, allocations: 9.25 kB / 0.8733 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.4478, allocations: 3.938 kB / 0.8733 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.4478, allocations: 3.938 kB / 0.8733 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.45e-05/0.4478, allocations: 11.92 kB / 0.8733 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.4478, allocations: 4 kB / 0.8733 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.125e-05/0.4479, allocations: 0 / 0.8733 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.4479, allocations: 0 / 0.8733 GB, free: 12.79 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 () * 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 5.041e-05/0.4479, allocations: 104.9 kB / 0.8734 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.011e-05/0.448, allocations: 192 / 0.8734 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.4481, allocations: 77.16 kB / 0.8735 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.4481, allocations: 4 kB / 0.8735 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.4481, allocations: 0 / 0.8735 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.4481, allocations: 0 / 0.8735 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.4483, allocations: 169.5 kB / 0.8736 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.4483, allocations: 0 / 0.8736 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.62e-05/0.4483, allocations: 15.92 kB / 0.8737 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4483, allocations: 0 / 0.8737 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.4484, allocations: 0 / 0.8737 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4484, allocations: 0 / 0.8737 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4484, allocations: 4 kB / 0.8737 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.4485, allocations: 155.7 kB / 0.8738 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.337e-05/0.4485, allocations: 85.06 kB / 0.8739 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.4485, allocations: 0 / 0.8739 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.927e-05/0.4486, allocations: 0 / 0.8739 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.601e-05/0.4486, allocations: 7.984 kB / 0.8739 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.4486, allocations: 4 kB / 0.8739 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.341e-05/0.4487, allocations: 79.28 kB / 0.874 GB, free: 12 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4487, allocations: 0 / 0.874 GB, free: 12 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001808/0.4489, allocations: 4 kB / 0.874 GB, free: 11.99 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 () * 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.0003296/0.4492, allocations: 0.6949 MB / 0.8747 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.505e-05/0.4493, allocations: 23.98 kB / 0.8747 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4493, allocations: 4 kB / 0.8747 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.491e-05/0.4493, allocations: 19.94 kB / 0.8747 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001081/0.4494, allocations: 8.547 kB / 0.8747 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002984/0.4497, allocations: 112.7 kB / 0.8748 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.4499, allocations: 0.6809 MB / 0.8755 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.912e-05/0.45, allocations: 0 / 0.8755 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.545e-05/0.45, allocations: 19.42 kB / 0.8755 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of SimCode: time 3.4e-07/0.45, allocations: 4 kB / 0.8755 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01028/0.4603, allocations: 1.005 MB / 0.8765 GB, free: 9.547 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/0.4605, allocations: 202.5 kB / 0.8767 GB, free: 9.312 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.306/1.767, allocations: 0 / 0.8767 GB, free: 9.312 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)