Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="IDEAS_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.001059/0.001059, 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 0.7275/0.7275, 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 1.752/1.752, allocations: 221.3 MB / 400.4 MB, free: 5.809 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.000949/0.000949, allocations: 89.12 kB / 483.3 MB, free: 5.809 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.155e-05/4.157e-05, allocations: 4.281 kB / 0.5601 GB, free: 87.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2009, allocations: 82.3 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7227/0.9236, allocations: 111.6 MB / 0.7495 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.9239, allocations: 83.48 kB / 0.7496 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.002811/0.9268, allocations: 0.8471 MB / 0.7504 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.365e-06/0.9268, allocations: 0 / 0.7504 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.9268, allocations: 0 / 0.7504 GB, free: 27.71 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.0003262/0.9271, allocations: 324.1 kB / 0.7508 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/0.9272, allocations: 14.41 kB / 0.7508 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.84e-05/0.9272, allocations: 36.36 kB / 0.7508 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.612e-05/0.9273, allocations: 0.7812 kB / 0.7508 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.759e-05/0.9274, allocations: 163 kB / 0.751 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.9274, allocations: 7.844 kB / 0.751 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.9274, allocations: 0 / 0.751 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.9275, allocations: 44.92 kB / 0.751 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.9275, allocations: 3.938 kB / 0.751 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.9276, allocations: 0 / 0.751 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.9276, allocations: 3.984 kB / 0.751 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.523e-05/0.9276, allocations: 13.81 kB / 0.751 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003283/0.928, allocations: 247.5 kB / 0.7513 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.9281, allocations: 46.16 kB / 0.7513 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.668e-05/0.9282, allocations: 11.39 kB / 0.7513 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.9282, allocations: 3.875 kB / 0.7513 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.9282, allocations: 33.47 kB / 0.7514 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.9282, allocations: 0 / 0.7514 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001485/0.9284, allocations: 46.25 kB / 0.7514 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.9284, allocations: 56.39 kB / 0.7515 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.641e-05/0.9285, allocations: 85 kB / 0.7515 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.9285, allocations: 25.7 kB / 0.7516 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.036e-05/0.9285, allocations: 80.14 kB / 0.7516 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.9286, allocations: 17.83 kB / 0.7517 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-06/0.9286, allocations: 0 / 0.7517 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.9287, allocations: 318.7 kB / 0.752 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.566e-05/0.9287, allocations: 7.75 kB / 0.752 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.187e-05/0.9287, allocations: 7.312 kB / 0.752 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.695e-05/0.9288, allocations: 14.08 kB / 0.752 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.9288, allocations: 3.844 kB / 0.752 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.957e-05/0.9288, allocations: 46 kB / 0.752 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.9289, allocations: 4.938 kB / 0.752 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.9289, allocations: 0 / 0.752 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.9289, allocations: 3.062 kB / 0.752 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.2e-05/0.929, allocations: 3.812 kB / 0.752 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.929, allocations: 0 / 0.752 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.238e-05/0.929, allocations: 3.844 kB / 0.752 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.929, allocations: 6.953 kB / 0.7521 GB, free: 26.06 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 6.499e-05/0.9291, allocations: 104.9 kB / 0.7522 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.9291, allocations: 7.281 kB / 0.7522 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.9293, allocations: 71.05 kB / 0.7522 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.9293, allocations: 0 / 0.7522 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.9293, allocations: 0 / 0.7522 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.9293, allocations: 2.812 kB / 0.7522 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.9294, allocations: 168.1 kB / 0.7524 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.9294, allocations: 4 kB / 0.7524 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.737e-05/0.9295, allocations: 10.36 kB / 0.7524 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.9295, allocations: 0 / 0.7524 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.9295, allocations: 3.844 kB / 0.7524 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.9295, allocations: 0 / 0.7524 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.9295, allocations: 0 / 0.7524 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.9297, allocations: 164.6 kB / 0.7526 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-05/0.9297, allocations: 81.02 kB / 0.7526 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.9297, allocations: 2.297 kB / 0.7526 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.111e-05/0.9298, allocations: 4 kB / 0.7527 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.686e-05/0.9298, allocations: 7.062 kB / 0.7527 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.9298, allocations: 0 / 0.7527 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.16e-05/0.9299, allocations: 77.39 kB / 0.7527 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9299, allocations: 0 / 0.7527 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001975/0.9301, allocations: 3.875 kB / 0.7527 GB, free: 25.39 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.000397/0.9305, allocations: 0.7007 MB / 0.7534 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.778e-05/0.9305, allocations: 20.53 kB / 0.7534 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.9306, allocations: 0 / 0.7534 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.498e-05/0.9306, allocations: 25.06 kB / 0.7535 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001173/0.9307, allocations: 3.938 kB / 0.7535 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003081/0.931, allocations: 102.4 kB / 0.7536 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.9313, allocations: 0.6791 MB / 0.7542 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.423e-05/0.9313, allocations: 6.625 kB / 0.7542 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.9314, allocations: 14.91 kB / 0.7542 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of SimCode: time 3.21e-07/0.9314, allocations: 0 / 0.7542 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01211/0.9435, allocations: 0.9909 MB / 0.7552 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001615/0.9437, allocations: 169.2 kB / 0.7554 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.424/2.368, allocations: 0 / 0.7554 GB, free: 23.55 MB / 0.5105 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)