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.8227/0.8227, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.0009774/0.0009772, allocations: 180.5 kB / 182.2 MB, free: 9.457 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.355/1.355, allocations: 221.5 MB / 436.4 MB, free: 13.39 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.0009274/0.0009271, allocations: 103.7 kB / 0.5074 GB, free: 10.22 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002313/0.002313, allocations: 284.6 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.129e-05/2.132e-05, allocations: 4 kB / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3917, allocations: 82.78 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1334/0.5252, allocations: 108.3 MB / 0.8632 GB, free: 3.457 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/0.5255, allocations: 79.94 kB / 0.8633 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002566/0.528, allocations: 0.847 MB / 0.8641 GB, free: 2.535 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5281, allocations: 3.938 kB / 0.8642 GB, free: 2.531 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.5281, allocations: 3.156 kB / 0.8642 GB, free: 2.531 MB / 0.5261 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.0003349/0.5284, allocations: 326.5 kB / 0.8645 GB, free: 2.168 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.5285, allocations: 8.031 kB / 0.8645 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.5285, allocations: 4 kB / 0.8645 GB, free: 2.156 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.5287, allocations: 159.1 kB / 0.8646 GB, free: 1.961 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.5287, allocations: 3.953 kB / 0.8646 GB, free: 1.957 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.5287, allocations: 4 kB / 0.8646 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.055e-05/0.5288, allocations: 15.98 kB / 0.8647 GB, free: 1.938 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.693e-05/0.5289, allocations: 49.55 kB / 0.8647 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.5289, allocations: 0 / 0.8647 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.5289, allocations: 0 / 0.8647 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.5289, allocations: 0 / 0.8647 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003678/0.5293, allocations: 225.5 kB / 0.8649 GB, free: 1.625 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.5295, allocations: 38.58 kB / 0.865 GB, free: 1.578 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.7e-05/0.5295, allocations: 17 kB / 0.865 GB, free: 1.559 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.5295, allocations: 0 / 0.865 GB, free: 1.559 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.5296, allocations: 30.56 kB / 0.865 GB, free: 1.52 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.5296, allocations: 7.938 kB / 0.865 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0001999/0.5298, allocations: 41.69 kB / 0.865 GB, free: 1.465 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.5298, allocations: 55.41 kB / 0.8651 GB, free: 1.398 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.171e-05/0.5299, allocations: 85 kB / 0.8652 GB, free: 1.309 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.5299, allocations: 25.7 kB / 0.8652 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.5299, allocations: 84.05 kB / 0.8653 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.53, allocations: 11.84 kB / 0.8653 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.53, allocations: 0 / 0.8653 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.851e-05/0.5301, allocations: 310.8 kB / 0.8656 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.678e-05/0.5301, allocations: 11.98 kB / 0.8656 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.197e-06/0.5301, allocations: 0 / 0.8656 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.51e-05/0.5301, allocations: 12 kB / 0.8656 GB, free: 0.8438 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.5301, allocations: 0 / 0.8656 GB, free: 0.8438 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.06e-05/0.5302, allocations: 53.58 kB / 0.8657 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.5303, allocations: 4 kB / 0.8657 GB, free: 0.7812 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.5303, allocations: 0 / 0.8657 GB, free: 0.7812 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.5303, allocations: 0 / 0.8657 GB, free: 0.7812 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.219e-05/0.5303, allocations: 7.984 kB / 0.8657 GB, free: 0.7734 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.5304, allocations: 7.938 kB / 0.8657 GB, free: 0.7656 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.384e-05/0.5304, allocations: 0 / 0.8657 GB, free: 0.7656 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.5304, allocations: 0 / 0.8657 GB, free: 0.7656 MB / 0.5261 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 7.666e-05/0.5305, allocations: 105 kB / 0.8658 GB, free: 0.6562 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.845e-05/0.5306, allocations: 49.64 kB / 0.8658 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.5306, allocations: 0 / 0.8658 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.5308, allocations: 73.64 kB / 0.8659 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.5308, allocations: 0 / 0.8659 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5308, allocations: 0 / 0.8659 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5308, allocations: 0 / 0.8659 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.531, allocations: 138.2 kB / 0.866 GB, free: 356 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.531, allocations: 7.953 kB / 0.866 GB, free: 348 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.018e-05/0.531, allocations: 11.98 kB / 0.8661 GB, free: 336 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.531, allocations: 4 kB / 0.8661 GB, free: 332 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.5311, allocations: 240 / 0.8661 GB, free: 332 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.5311, allocations: 3.938 kB / 0.8661 GB, free: 328 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.5311, allocations: 0 / 0.8661 GB, free: 328 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.5312, allocations: 159.5 kB / 0.8662 GB, free: 152 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.956e-05/0.5313, allocations: 85.05 kB / 0.8663 GB, free: 48 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.5313, allocations: 0 / 0.8663 GB, free: 48 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.642e-05/0.5314, allocations: 4 kB / 0.8663 GB, free: 44 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.839e-05/0.5314, allocations: 7.984 kB / 0.8663 GB, free: 36 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.5314, allocations: 0 / 0.8663 GB, free: 36 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.071e-05/0.5315, allocations: 75.28 kB / 0.8664 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5315, allocations: 0 / 0.8664 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002248/0.5317, allocations: 4 kB / 0.8664 GB, free: 15.96 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.0004684/0.5322, allocations: 0.6929 MB / 0.8671 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.671e-05/0.5323, allocations: 27.92 kB / 0.8671 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5323, allocations: 0 / 0.8671 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.576e-05/0.5324, allocations: 16 kB / 0.8671 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.5325, allocations: 3.672 kB / 0.8671 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004206/0.5329, allocations: 97.53 kB / 0.8672 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.5333, allocations: 0.6807 MB / 0.8679 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.907e-05/0.5334, allocations: 4 kB / 0.8679 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.782e-05/0.5335, allocations: 19.42 kB / 0.8679 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of SimCode: time 3.41e-07/0.5335, allocations: 0 / 0.8679 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.5547, allocations: 0.7038 MB / 0.8686 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002626/0.5551, allocations: 176.9 kB / 0.8687 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.418/1.973, allocations: 2.547 kB / 0.8687 GB, free: 13.47 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)