Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002776/0.002777, allocations: 175.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.247/1.247, allocations: 133.4 MB / 146.7 MB, free: 10.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.78/2.78, allocations: 221.3 MB / 400.4 MB, free: 5.797 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 92.86 kB / 483.3 MB, free: 5.816 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.037e-05/7.094e-05, allocations: 3.5 kB / 0.5601 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2751, allocations: 82.31 MB / 0.6405 GB, free: 7.715 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.191/1.466, allocations: 111.6 MB / 0.7495 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004752/1.466, allocations: 78.88 kB / 0.7496 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004329/1.471, allocations: 0.8498 MB / 0.7504 GB, free: 27.73 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.068e-06/1.471, allocations: 0 / 0.7504 GB, free: 27.73 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.024e-05/1.471, allocations: 0 / 0.7504 GB, free: 27.73 MB / 0.5105 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.0005296/1.471, allocations: 328.7 kB / 0.7508 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 8.636e-05/1.472, allocations: 13.16 kB / 0.7508 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.099e-05/1.472, allocations: 30.56 kB / 0.7508 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/1.472, allocations: 0.7812 kB / 0.7508 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/1.472, allocations: 169.2 kB / 0.751 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/1.472, allocations: 4 kB / 0.751 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/1.472, allocations: 2.875 kB / 0.751 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/1.472, allocations: 39.53 kB / 0.751 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/1.472, allocations: 0 / 0.751 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/1.472, allocations: 3.938 kB / 0.751 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/1.472, allocations: 0 / 0.751 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.504e-05/1.472, allocations: 13.81 kB / 0.751 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006376/1.473, allocations: 255.3 kB / 0.7513 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003976/1.473, allocations: 40.95 kB / 0.7513 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.433e-05/1.473, allocations: 16.23 kB / 0.7513 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.578e-05/1.473, allocations: 3.938 kB / 0.7513 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.1e-05/1.474, allocations: 32.53 kB / 0.7514 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.884e-06/1.474, allocations: 1.094 kB / 0.7514 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0003271/1.474, allocations: 49.55 kB / 0.7514 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.913e-05/1.474, allocations: 51.41 kB / 0.7515 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/1.474, allocations: 85 kB / 0.7515 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/1.474, allocations: 25.7 kB / 0.7516 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/1.474, allocations: 87.58 kB / 0.7516 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/1.474, allocations: 7.844 kB / 0.7517 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-06/1.474, allocations: 0 / 0.7517 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004056/1.475, allocations: 321 kB / 0.752 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.611e-05/1.475, allocations: 11.56 kB / 0.752 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.327e-05/1.475, allocations: 7.812 kB / 0.752 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/1.475, allocations: 13.88 kB / 0.752 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.475, allocations: 0 / 0.752 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001889/1.475, allocations: 44.41 kB / 0.752 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.869e-05/1.475, allocations: 3.844 kB / 0.752 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/1.475, allocations: 0 / 0.752 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.984e-05/1.476, allocations: 3.844 kB / 0.752 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.998e-05/1.476, allocations: 6.938 kB / 0.752 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/1.476, allocations: 0 / 0.752 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.743e-05/1.476, allocations: 0 / 0.752 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/1.476, allocations: 4.188 kB / 0.7521 GB, free: 26.08 MB / 0.5105 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 0.0001516/1.476, allocations: 108.9 kB / 0.7522 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.129e-05/1.476, allocations: 6.859 kB / 0.7522 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/1.476, allocations: 76.95 kB / 0.7522 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/1.476, allocations: 0 / 0.7522 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/1.476, allocations: 0 / 0.7522 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/1.476, allocations: 0 / 0.7522 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003065/1.477, allocations: 166.9 kB / 0.7524 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.477, allocations: 4 kB / 0.7524 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/1.477, allocations: 9.625 kB / 0.7524 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/1.477, allocations: 3.844 kB / 0.7524 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/1.477, allocations: 0 / 0.7524 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/1.477, allocations: 3.047 kB / 0.7524 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/1.477, allocations: 0 / 0.7524 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/1.477, allocations: 160.5 kB / 0.7526 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.49e-05/1.477, allocations: 81.02 kB / 0.7526 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/1.477, allocations: 4 kB / 0.7526 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/1.477, allocations: 3.625 kB / 0.7527 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.284e-05/1.478, allocations: 6.891 kB / 0.7527 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/1.478, allocations: 0 / 0.7527 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001572/1.478, allocations: 75.28 kB / 0.7527 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.81e-07/1.478, allocations: 0 / 0.7527 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003835/1.478, allocations: 3.844 kB / 0.7527 GB, free: 25.41 MB / 0.5105 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.001203/1.479, allocations: 0.701 MB / 0.7534 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002007/1.48, allocations: 19.19 kB / 0.7534 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/1.48, allocations: 0 / 0.7534 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.816e-05/1.48, allocations: 25.59 kB / 0.7535 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/1.48, allocations: 0 / 0.7535 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008524/1.481, allocations: 105.5 kB / 0.7536 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/1.482, allocations: 0.6859 MB / 0.7542 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.866e-05/1.482, allocations: 3.688 kB / 0.7542 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.493e-05/1.482, allocations: 13.56 kB / 0.7542 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of SimCode: time 6.92e-07/1.482, allocations: 3.844 kB / 0.7543 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01814/1.5, allocations: 0.9921 MB / 0.7552 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002634/1.501, allocations: 173.7 kB / 0.7554 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.297/3.798, allocations: 4.938 kB / 0.7554 GB, free: 23.58 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)